PDA

View Full Version : slimserver not accepting music folder



Nancy and Mike Androff
2004-02-26, 23:21
--- kdf <slim-mail (AT) deane-freeman (DOT) com> wrote:
> Quoting Nancy and Mike Androff
> <androff_96 (AT) yahoo (DOT) com>:
>
> > I'm trying to configure slimserver with a new
> music
> > folder value, but it keeps coming back with the
> > message "Oops - "/home/music/songs" doesn't seem
> to be
> > a valid directory. Try again." The directory is
> > definitely there. Oddly, it accepts "/home/music"
> as
> > a valid value.
> >
> > My setup:
> > I'm running the server on RedHat Linux 9.2. I
> have a
> > user named "music" in a group name "music". I
> added
> > the slimserver user to the "music" group as well,
> just
> > in case it needed write access to the music
> folder.
> > The directory and all subdirs and MP3s in
> > /home/music/songs are owned by user "music", have
> the
> > group set to "music", and have permissions set to
> r/w,
> > r/w, r.
> >
> > Are there file ownership and/or permission
> settings
> > I'm supposed to be using for the music folder, or
> is
> > there some other trick I'm missing? Do root or
> > slimserver need to own the directory, or do I need
> to
> > add world writability? Any ideas? I tried
> > desperately to find the answer in the
> documentation
> > and in this mailing list, but to no avail.
>
> if you are in /home/music, and you do ls -l, does
> song have x permission?
> given that you have a user, music, you probably have
> to make it world readable.
> Slimserver installs and runs as user slimserver, or
> root depending on your
> setup. for folders, you need to have +x as well as
> +r (+w isn't needed).
>
> hope that helps.
>
> cheers,
> kdf

When I created the directory, I set its permissions to
drwxrwxr-x (755) as well as all of its subfolders and
MP3s (the +x is superfluous on the MP3s but it doesn't
hurt anything). Any user should be able to cd and ls
the directories. The slimserver user is in the
"music" group that the files have set as group so I
can't see where the problem could be permission-wise.

kdf
2004-02-26, 23:28
Quoting Nancy and Mike Androff <androff_96 (AT) yahoo (DOT) com>:


>
> When I created the directory, I set its permissions to
> drwxrwxr-x (755) as well as all of its subfolders and
> MP3s (the +x is superfluous on the MP3s but it doesn't
> hurt anything). Any user should be able to cd and ls
> the directories. The slimserver user is in the
> "music" group that the files have set as group so I
> can't see where the problem could be permission-wise.

try running slimserver.pl manually while you are (su -) root and see if it
allows it. at least then you'll know its possible if permissions are godlike :)
-kdf