| Stephen Gran on 13 Aug 2004 19:24:02 -0000 |
|
On Fri, Aug 13, 2004 at 02:36:23PM -0400, sean finney said:
> i for some reason mis-remembered that files would inherit the
> permissions from their parent directories, which apparently they don't.
> sorry about that.
s{u,g}id only affects ownerships, not permissions - those two are
orthogonal in this case. As you note below, umask is what he wants, in
addition to sgid directories.
> > I'm wondering (don't know) if Samba provides the appropriate "Default
> > permissions" settings?
>
> you can specify "create mask" and "directory mask" on a per-share
> basis, though i don't know if you can force a particular owner/group
> per-share. that might be enough though, because if the web shares
> are the setgid directories, the ownership would be properly inherited
> and the masks ought to take care of the permissions (though i haven't
> verified this myself)
{force,} group, {force,} mode, {force,} directory mode are all very
helpful here. You can also use a user = @group for the share.
--
--------------------------------------------------------------------------
| Stephen Gran | if (argc > 1 && strcmp(argv[1], "- |
| steve@lobefin.net | advice") == 0) { printf("Don't |
| http://www.lobefin.net/~steve | Panic!\n"); exit(42); } -- Arnold |
| | Robbins in the LJ of February '95, |
| | describing RCS |
--------------------------------------------------------------------------
Attachment:
pgpNkykWtdKaU.pgp
|
|