tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] AdvFs on DU 4.0D creates files with wrong group
@ 1998-02-23  8:27 Jukka Jalava
  0 siblings, 0 replies; only message in thread
From: Jukka Jalava @ 1998-02-23  8:27 UTC (permalink / raw)
  To: tru64-unix-managers

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-02-23  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-23  8:27 [SUMMARY] AdvFs on DU 4.0D creates files with wrong group Jukka Jalava

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