tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Gray, Sue" <sjgray () subcorp ! com ! au>
To: tru64-unix-managers
Subject: SUMMARY: /tmp settings
Date: Fri, 11 Sep 1998 00:08:36 +0000	[thread overview]
Message-ID: <96078721911766.tru64-unix-managers.marc@archive.invalid> (raw)

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/<SYSTEM> 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.

                 reply	other threads:[~1998-09-11  0:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox