D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Force permissions?

 

John Palmer wrote:
>
> In the last resort you could have a cron job, run every so often to adjust
> the permissions or group-ownerships of files created since it last ran.

The traditional Unix file permissions weren't really aimed at this sort
of usage of computers. The programmers created programs, and users ran
them, and files were something the application programmer dealt with.

That its simple file permission structure is still widely used, should
make you think about why, and I suspect the answer is that whilst ACLs
seem such a good idea in theory, in practice they expect you to micro
manage permissions at a level most people don't want to get into.

The formal answer is thus, Posix ACL are supported, and the Samba docs
cover this.

Apart from John's hack, it occurred to me that the relevant "filesystem"
could be mounted (remounted) over SMB by the Linux box it is on (making
it both server and client), and thus (depending how you did Samba user
mappings) it might inherit whatever permissions and behaviours you
created for samba to use already.

Won't be the fastest way of doing things, but then if you use SMB
performance clearly isn't an issue.

 Simon






Attachment: signature.asc
Description: OpenPGP digital signature

-- 
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