cjbrooker;288603 Wrote:
>
> I have the following permissions for directories: drwxr--r--
> and the following for files:-rw-r--r--
>
> What are the recommended permissions for music files and directories in
> *nix environments in order for squeezecenter to access them? I thought
> squeezecenter would only need read access.
That's the problem (probably). In Unix-style systems, the relevant user
(squeezecenter) *must* have Execute "x" access on *all* *parent*
directories.
I.e. if, for example, your music is in
/home/public/music/foo/track.ogg, you want world-executable and
world-readable (mode 755) on "/home", "/home/public/",
"/home/public/music", and "/home/public/music/foo/".
The following commands will probably sort it out for you
===
cd /home/public/music #or wherever your music is
chmod -R a+r * # add read permission recursively to everything
find . -type d -exec chmod go+rx {} \; # Add read+exec perms to
directories
===
The punctuation at the end of the "find" command is important: it reads
"open-braces, close-braces, space, backslash, semi-colon".
cheers
--
davis
------------------------------------------------------------------------
davis's Profile: http://forums.slimdevices.com/member.php?userid=8771
View this thread: http://forums.slimdevices.com/showthread.php?t=45901
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix