[comp.sys.encore] Sticky bit on directories.

rickert@CS.NIU.EDU (Neil Rickert) (06/09/90)

  Say there is a file  'notmine' in /tmp.

  I try:   rm  notmine

rm:  notmine  not removed

  --------

  I try:   touch x
           mv x notmine
           rm notmine
 Bingo.  'notmine' has gone.

  Is this the way the sticky bit is supposed to work?

  (Umax 4.3 with NFS).


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Sci Dept, Northern Illinois U., DeKalb IL 60115
  InterNet, unix: rickert@cs.niu.edu              Bitnet, VM: T90NWR1@NIUCS
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

ejd@GOANNA.CS.RMIT.OZ.AU (06/12/90)

    |   Say there is a file  'notmine' in /tmp.
    | 
    |   I try:   rm  notmine
    | 
    | rm:  notmine  not removed
    | 
    |   --------
    | 
    |   I try:   touch x
    |            mv x notmine
    |            rm notmine
    |  Bingo.  'notmine' has gone.
    | 
    |   Is this the way the sticky bit is supposed to work?

The 'mv' command 'mv x notmine' should fail. On BSD 4.3 Tahoe the mv command
says 'mv: x: rename: Not owner'


ejd