[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: file permissions in archive

From: Ethan Benson
Subject: [Gnu-arch-users] Re: file permissions in archive
Date: Mon, 18 Aug 2003 04:33:19 -0800
User-agent: Mutt/1.3.28i

On Mon, Aug 18, 2003 at 08:34:00AM +0200, Jan Hudec wrote:
> On Fri, Aug 15, 2003 at 04:41:25PM +0200, Enno Cramer wrote:
> > > I will, once I find enough free time, take a look into the sftp
> > > transport and try to add some stat/chmod hack to have every newly
> > > created file/directory in the archive "inherit" its permission. That
> > > would allow to control access using unix groups with category, branch
> > > or even version granularity.
> > 
> > As promised, here is my hack to allow multi-user archives with sftp write 
> > access. This patch changes the group id and permission for every newly 
> > created file or directory to the parent directory's gid/permission.
> Isn't that supposed to happen automaticaly when there is a suid/sgid bit
> set on the directory?

for groups yes, permissions no.

for permissions you would need a default ACL.

Ethan Benson

Attachment: pgp1asoWb8_PG.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]