From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,aa0a3d1d9349d7ae,start X-Google-Attributes: gidf678f,public From: andrewc@genasys.com.au (Andrew Congdon) Subject: sgid directories w/DU4.0? Date: 1996/08/05 Message-ID: <4u444b$c0b@gisdev.genasys.com.au>#1/1 X-Deja-AN: 172120617 organization: Genasys II, Australia newsgroups: comp.unix.osf.misc Anyone know why it is that if I create a file in /tmp (or /var/tmp) the file belongs to group "system" which I don't belong to? I could understand it if the sgid bit was on on the directory but it isn't. This "feature" makes it annoying when trying to look at files (eg. daemon logs) since the umask for our group doesn't include other permissions. Is there some way to change this behaviour? I'd also like to enable the sgid permission on directories behaviour that I am used to on other machines: when creating a directory in a directory where the sgid bit is on the new directory also has the sgid bit on. Anyone know how to do this? The file (or directory) is created in the group set by the directory but the sgid bit is not propagated unless it is a NFS filesystem! -- Andrew.