CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0244a-walt.sh test/02/t0244a-walt.ES
aegis: /tmp/70456/proj2: gid 0 invalid, must be >= 10
NO RESULT when testing the 'aenpr -keep' functionality (create a new project
234)
Some days ago I've investigated that failure and, while I don't have the
details at hand, it seems related to an unexpected, for me at least,
behavior: files under /tmp/ have gid 0 even when created by a normal
user.
Is it the expected behavior?
Yes. The newly created files can have gid of either current gid of
the running process or gid of the parent directory. The SYSV (and linux)
have as a default "process" while the BSD (and GNU/kFreeBSD)
have as a default "parent directory".
See i.e. "man mount", Mount options for ext2:
grpid or bsdgroups / nogrpid or sysvgroups
These options define what group id a newly created file gets.
When grpid is set, it takes the group id of the directory in
which it is created; otherwise (the default) it takes the fsgid
of the current process, unless the directory has the setgid bit
set, in which case it takes the gid from the parent directory,
and also gets the setgid bit set if it is a directory itself.
Petr
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]