Sunday, January 6, 2013

best linux file permissions for other users (media server)?

Q. Hi,

I have all my music, pictures, and videos in a folder /mnt/6/media/

How do i set this up so i can make user accounts that can browse the contents, open the contents, copy to their computer, but not delete? I am afraid if i give a few roomates access someone will accidently delete.

This is a linux system. Am i correct in assuming the following?

User: bob is default in wheel group and secondary in ftp.

randy owns /mnt/6/


Any additional users should be put in the FTP group and /mnt/6/ and recurssive files should all be set to 755?

This gives bob (the owner) ability to write, delete, etc, and additional users in the FTP group to read and play the content but not delete?

Thanks for clarifying.

A. You don't need the execute bit set to read, just the read bit. (744)

Also you don't need to do it via FTP, but an use samba or NFS.




Powered by Yahoo! Answers

No comments:

Post a Comment