[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: sgid bits and commits
From: |
Stefan Monnier |
Subject: |
[Gnu-arch-users] Re: sgid bits and commits |
Date: |
30 Apr 2004 19:13:39 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> So normally when I create a file or directory it has group U.
> But in a directory of group A on which I've done:
> chmod g+s
> When I create a file inside the directory, it is supposed to have
> the group associated with the parent directoy, A, right?
Right.
> But when I do a commit, all the created dirs and files have my
> default group U.
> I don't understand this. Help?
Probably tla is building the new dir somewhere else (where the setgid bit is
not set) and then moves it to its final destination. So you need to figure
out where is that "somewhere else".
Stefan