You are not logged in.

#1 2011-06-22 18:43:35

Sweet
Member
Registered: 2011-06-21
Posts: 1

MPD alternative install cp issue

I'm trying to do this:

Copy the contents of the default MPD configuration file in /usr/share/mpd/mpd.conf.example to your home directory. A good place would be "/home/user/.mpd/mpd.conf".

And this is what happens:

[root@girl ~]# cp /usr/share/mpd/mpd.conf.example /home/user/.mpd/mpd.conf
cp: cannot create regular file '/home/user/.mpd/mpd.conf': No such file or directory
[root@girl ~]# mkdir /home/user/.mpd/mpd.conf
mkdir: cannot create regular file '/home/user/.mpd/mpd.conf': No such file or directory

Offline

#2 2011-06-22 18:49:51

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: MPD alternative install cp issue

You don't have a .mpd directory

A couple of things:
mpd.conf is a file so you cannot use mkdir on it or it will create a directory called mpd.conf -- which is not what you want.
user -- means that you have to use your own user name in its place


Also do the following as your regular user NOT as root or the ownership will be root and you won't be able to play songs with your username later.
Try

$ mkdir /home/<your user name here>/.mpd
$ cp /usr/share/mpd/mpd.conf /home/<your user name here>/.mpd

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-22 18:53:10

Mmarzex
Member
Registered: 2010-06-30
Posts: 35

Re: MPD alternative install cp issue

Do you have the .mpd folder created in your user folder. I also wouldn't be setting it up with the root user so that the permissions and ownership for the mpd install will be that of your user.

Offline

Board footer

Powered by FluxBB