[Gllug] Getting required read / write / access permissions

Chris Bell chrisbell at chrisbell.org.uk
Wed Apr 6 08:40:04 UTC 2011


Hello,
   I am trying to get the correct access permissions automatically for a
number of users accessing a server running Debian Lenny at present, with all
users accessing the server from Microsoft PCs via Samba. The requirements
are personal home directories with R/W access only by the owner, a directory
with full recursive R/W access to all files to all, but only all, on a
restricted list, plus a directory with full recursive R/W access to all
listed users. Individual users need to be able to create sub-directories and
new files. Some users also need access from their normal computers via
OpenVPN. It would be best if shared files can not be deleted once created.
   I have created two additional groups (not users), one restricted, the
other to include all. I have edited /etc/samba/smb.conf to set access
permissions to 770 on each of the directories, together with the required
user lists for each. If I look at man chmod I see that I can specify 770 but
there are six possible attributes, rwxXst, and when I use ls -al I only see
three.
   I am still being told that not all the required users have write access
to all neccessary new files. Have I missed something? Would Microsoft
limited access permissions over-ride those set by Samba?


-- 
Chris Bell www.chrisbell.org.uk (was www.overview.demon.co.uk)
Microsoft sells you Windows ... Linux gives you the whole house.

--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list