[NTLUG:Discuss] Samba, ACL - permissions

Keller Giacomarro keller.g at gmail.com
Tue Jun 5 16:27:18 CDT 2007


Hello everyone!

I'm brand new to this list and to NTLUG - hopefully I'll be able to meet
many of you soon.  Dennis Rice suggested strongly that I join this list and
ask the questions that he can't answer.  Thanks, professor.

I had a question regarding Samba and Linux permissions.  I'm just getting a
good grasp on unix-style file permissions, so please correct any mistakes I
make.

I'm trying to use a Ubuntu 7.04 server as the main file server for my home.
Since we're a mixed environment, samba was the way to go.

Here's what I'm trying to do:

I have a folder, /var/storage/backup , that is shared with Samba.  Two
users, user1 and user2, both have write access to the share.  I want each
user to be able to modify and delete files and folders made by the other
user.  As it is now, the only way I can figure out to do that is to make all
new files in the directory have permissions of 777.  However, this seems
foolish from a security standpoint.

I've read up some on ACL support in Samba and on Linux filesystems.  Is this
the best way to go about accomplishing what I want?  I found this howto (
http://www.bsdzone.net/howto/Samba/Samba_ACL_Linux/), and it seems to
explain about what I want do to.  However, it seems like there should be a
way to accomplish this with standard Unix file permissions.

Any insights would be greatly appreciated.  Thanks in advance!

-- 
Keller Giacomarro
keller.g at gmail.com


More information about the Discuss mailing list