Reply To: Songs Not Found On Server

#10190
rpedde
Participant

@volatile.memory wrote:

One question though. Once again, I’ve opened the permissions wide up… (d)rwxrwxrwx. What SHOULD they be for owner, group and other?

Thanks tons for the help so far!

v.m

Really, depends on your setup, but for an idea, mine sit in directories that are owned by my local network users “net-users”, so mine are owned by me, grouped to net-users, and (directory) permissions are 2775, which is read-write by me and the net-users group, and read only for everyone else. The 2 is “sgid” which means to make any files created in those folder to also be owned by the net-users group.

The files themselves are 664, again readable and writable by logged in users on my network, but readable for anyone else (guests).

You could set permissions like that with something like:


foo@bar$ chgrp -R "someusergroup" /path/to/mp3dir
foo@bar$ find /path/to/mp3dir -type d -exec chmod 2775 {} ;
foo@bar$ find /path/to/mp3dir -type f -exec chmod 664 {} ;

— Ron