From: Jukka Jalava <jukka () automation ! valmet ! com>
To: tru64-unix-managers
Subject: [SUMMARY] AdvFs on DU 4.0D creates files with wrong group
Date: Mon, 23 Feb 1998 08:27:30 +0000 [thread overview]
Message-ID: <96078694111516.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]
Thanks for the quick replies to:
Jie Gao
Alan Rollow - Dr. File System's Home for Wayward Inodes.
Juli�n Rodr�guez UNIX Ambassador & RDBMS Specialist
Martin MOKREJS - Net&SysAdmin
Dr. Thomas P. Blinn
My original question on Fri, 20 Feb 1998, was:
> I've noticed a strange behavior on my AdvFs disks after upgrading my
> Digital UNIX from 4.0B to 4.0D;
> When I create a new file (touch, >, cp) it is given the system (0)
> group, and not the users primary group. This happens even if the user
> isn't a member of the system group. Old files (created before the
> upgrade) show correct groups.
> On UFS filesystems files behave as they used to.
The answer I got from most is:
"Files inherit group membership from the directory, not the creating
user.
It works this way for both AdvFS and UFS."
I recall now, that this really is the BSD default behavior.
But, as Alan mentioned; "Getting it (the group ownership) from the group
ID is an option"
And this is how my system used to behave, getting the proces' GID for
the a new file rather than that of the parent directory (i.e. in System
V mode). I should have remembered this, since I've set this somewhere
sometime in the past. (That's what you get for wearing the same old head
all year 'round) The strange thing is, that I couldn't find the option
for this in my kernel configuration files. (I guess I've used the -D
flag when compiling the kernel).
Anyway, to change the behavior on file generation, add line:
sys_v_mode 1
to your /usr/sys/conf/<SYSTEM> file and rebuild the kernel.
Thanks again to all who bothered to reply.
Jukka Jalava
reply other threads:[~1998-02-23 8:27 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