* SUMMARY: /tmp settings
@ 1998-09-11 0:08 Gray, Sue
0 siblings, 0 replies; only message in thread
From: Gray, Sue @ 1998-09-11 0:08 UTC (permalink / raw)
To: tru64-unix-managers
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-09-11 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-11 0:08 SUMMARY: /tmp settings Gray, Sue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox