PDA

View Full Version : cannot get access to /home/myname/mp3



Kevin Davison
2004-04-12, 16:17
I get: drwxr-xr-x 143 kevin mp3 4096 Apr 11 18:27 /home/kevin/mp3

Does this mean anything to you? ^^^

I'm not quite sure what selinux security is. I don't believe I'm running
this.

-----Original Message-----
From: Victor Brilon [mailto:victor (AT) victorland (DOT) com]
Sent: Monday, April 12, 2004 8:51 AM
To: Slim Devices Discussion
Subject: [slim] cannot get access to /home/myname/mp3

If you do "ls -ld /home/kevin/mp3" what's the output look like?

Also, if you're running the Fedora FC releases, you're not running with
selinux security enabled, are you?

Victor

Kevin Davison wrote:
> I just rebuilt my Linux Fedora Core 1 box and I'm trying to get the
> SlimServer to recognize my mp3 directory. It will look at /home/kevin
> fine, but it will not go to /home/kevin/mp3. My music folder and all
> subs are owned by me and belong to an mp3 group that the slimserver user
> is also a member of. I've even tried chown -R slimserver:slimserver
> /home/kevin/mp3. Any ideas on why I'm getting the error message "*Oops
> - "/home/kevin/mp3" doesn't seem to be a valid directory. Try again." ?*
>
>
>
>
> ------------------------------------------------------------------------
>
>

Victor Brilon
2004-04-12, 17:50
I think the problem is that the code is checking whether it can write to
that dir -- and judging by the perms it cannot. Chmod the dir (and all
dirs beneath it) to 777 to see if that fixes the problem.

The ideal fix though is that you set up your mp3 tree in a place owned
by the mp3 user so you don't have to leave the perms wide open like that.

Victor

Kevin Davison wrote:
> I get: drwxr-xr-x 143 kevin mp3 4096 Apr 11 18:27 /home/kevin/mp3
>
> Does this mean anything to you? ^^^
>
> I'm not quite sure what selinux security is. I don't believe I'm running
> this.
>
> -----Original Message-----
> From: Victor Brilon [mailto:victor (AT) victorland (DOT) com]
> Sent: Monday, April 12, 2004 8:51 AM
> To: Slim Devices Discussion
> Subject: [slim] cannot get access to /home/myname/mp3
>
> If you do "ls -ld /home/kevin/mp3" what's the output look like?
>
> Also, if you're running the Fedora FC releases, you're not running with
> selinux security enabled, are you?
>
> Victor
>
> Kevin Davison wrote:
>
>>I just rebuilt my Linux Fedora Core 1 box and I'm trying to get the
>>SlimServer to recognize my mp3 directory. It will look at /home/kevin
>>fine, but it will not go to /home/kevin/mp3. My music folder and all
>>subs are owned by me and belong to an mp3 group that the slimserver user
>>is also a member of. I've even tried chown -R slimserver:slimserver
>>/home/kevin/mp3. Any ideas on why I'm getting the error message "*Oops
>>- "/home/kevin/mp3" doesn't seem to be a valid directory. Try again." ?*
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>

Roy M. Silvernail
2004-04-12, 19:20
On Mon, 2004-04-12 at 20:50, Victor Brilon wrote:
> I think the problem is that the code is checking whether it can write to
> that dir -- and judging by the perms it cannot. Chmod the dir (and all
> dirs beneath it) to 777 to see if that fixes the problem.

No need for that if SlimServer is running as group mp3. Just do this:

cd /home/kevin
chmod -R g+w mp3
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Victor Brilon
2004-04-12, 19:26
Roy M. Silvernail wrote:
> On Mon, 2004-04-12 at 20:50, Victor Brilon wrote:
>
>>I think the problem is that the code is checking whether it can write to
>>that dir -- and judging by the perms it cannot. Chmod the dir (and all
>>dirs beneath it) to 777 to see if that fixes the problem.
>
>
> No need for that if SlimServer is running as group mp3. Just do this:
>
> cd /home/kevin
> chmod -R g+w mp3

Or you could do that :) I was just recommending the shotgun approach in
case he had other funky permission issues in other subdirs -- since they
might not be grouped to 'mp3'

Victor