[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
> -----Original Message----- > From: list-bounces@xxxxxxxxxxxxx > [mailto:list-bounces@xxxxxxxxxxxxx] On Behalf Of Simon Williams > Sent: 16 November 2006 13:35 > To: list@xxxxxxxxxxxxx > Subject: [LUG] Force permissions > > > Hello everyone. > > I've been doing this with samba options for a while, but now > that more > people are logging directly into the server and/or using Linux it has > become more of an issue. > > Quite simply, I've got a shared directory which everyone can use and > write to. Through my research on this some time ago I found > that I can > set an 'inherit group' attrib by using SetGID on the dirs. > > Out of interest, what does setUID on a dir do? I've done some > tests, but > haven't noticed any difference. > > Anyway, if a user sets their umask to 002, it seems that all files > become group writable, no matter what the permissions of the > parent dir > are. This isn't really desirable. > > So, what I'm looking for is some way of forcing the > permissions of files > created in the shared dir to be group writable. > > What is the conventional way of handling group write-ability > for shared > dirs? They can't seriously expect people to manually chmod > all created > files. > > I'm surprised google hasn't been very helpful on this one. Maybe I'm > thinking about this all wrong. > > Thanks in advance > Simon If I remember right all permissions are set within the [share] definition using umasks and that the Unix perms are irrelevant After that it should just work. > > -- > The Mailing List for the Devon & Cornwall LUG > http://mailman.dclug.org.uk/listinfo/list > FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html > > > Click > https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== R+eakK3kSXVTgLcip8C4UjUo3aBQCFfLKzC1Dz88qmkX+Uy75A7JgQnpn+f2NZOh4H9R7MY5 UwY+sE3yPAwQk3JBUXTYUQORO66bGTlUJQdqH5QJzMvzkmsyFS4P4!PPHYUlJbRz8kJ7vhya 0sfNwjZ!e5FrBroAj1GEOVlJBdJcoRMqAMXeB!n6zvFIJeRma to report this email as spam to Sanctuary Housing's managed spam filter,BlackSpider. (Do NOT click on 'remove me' or other links from spam as that usually just confirms your email to the spammers and can lead to malicious websites) -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html