From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911766.tru64-unix-managers.marc@archive.invalid> From: "Gray, Sue" Date: Fri, 11 Sep 1998 00:08:36 +0000 To: tru64-unix-managers Subject: SUMMARY: /tmp settings X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911766 Thanks to everyone for the quick responses: Jie Gao [J.Gao@isu.usyd.edu.au] Santosh Krishnan x2815 [santosh@heplinux1.uta.edu] Robert Kubarych [rkubaryc@sunyrockland.edu] Lars Bro [lbr@dksin.dk] Dejan Muhamedagic [dejan@yunix.co.yu] Whitney Latta [latta@decatl.alf.dec.com] Biggerstaff, Craig T=20 [Craig.T.Biggerstaff@USAHQ.UnitedSpaceAlliance.com] Lars and Jie came up with the solution: System V UNIX sets the group as of the process. BSD (Digital Unix)=20 does not. It is tunable with the variable sys_v_mode (you can set it=20 to 1). But you should preferably consult System V Compatibility User=B4s = Guide to see the other things that will change when you set this. See=20 open(2), mknod(2) and mkdir (2). It can be changed by adding sys_v_mode 1 to your /usr/sys/conf/ file and rebuild the kernel. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Original Post: Hello all, This is probably a simple one. /tmp under Solaris is setup by default drwxrwxrwt Any file written to this directory has the permissions according to=20 the umask and the user as the owner and the users primary group id as=20 the group. On digital unix it is the same only the group of the file created is=20 NOT the users primary group (which I'd prefer it to be) - rather it is=20 the group of whatever the parent directory is set to - ie if /tmp has=20 group sys - all files in the /tmp are set to group sys unless you=20 explicitly do a chgrp on them. Anyone know why this happens and if there is a fix? TIA Sue Sue Gray sjgray@subcorp.com.au Network Analyst A.S.C.