Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 1997 23:24:55 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   cvs commit: src/bin/ls stat_flags.c src/lib/libc/sys chflags.2 src/sys/sys stat.h src/sys/ufs/ufs ufs_vnops.c src/usr.bin/chflags chflags.1
Message-ID:  <199706020624.XAA07545@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
julian      1997/06/01 23:24:53 PDT

  Modified files:
    bin/ls               stat_flags.c 
    lib/libc/sys         chflags.2 
    sys/sys              stat.h 
    sys/ufs/ufs          ufs_vnops.c 
    usr.bin/chflags      chflags.1 
  Log:
  Submitted by:	Whistle Communications (archie Cobbs)
  
  These changes add the ability to specify that a UFS file/directory
  cannot be unlinked. This is basically a scaled back version
  of the IMMUTABLE flag. The reason is to allow an administrator
  to create a directory hierarchy that a group of users
  can arbitrarily add/delete files from, but that the hierarchy
  itself is safe from removal by them.
  If the NOUNLINK definition is set to 0
  then this results in no change to what happens normally.
  (and results in identical binary (in the kernel)).
  It can be proven that if this bit is never set by the admin,
  no new behaviour is introduced..
  Several "good idea" comments from reviewers plus one grumble
  about creeping featurism.
  
  This code is in production in 2.2 based systems
  
  Revision  Changes    Path
  1.6       +9 -1      src/bin/ls/stat_flags.c
  1.7       +10 -2     src/lib/libc/sys/chflags.2
  1.13      +4 -1      src/sys/sys/stat.h
  1.51      +11 -7     src/sys/ufs/ufs/ufs_vnops.c
  1.5       +4 -1      src/usr.bin/chflags/chflags.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706020624.XAA07545>