Subject: Re: bug#8117: ln to /tmp is irreversible

From: Bob Proulx <[email-masked]>
Date: Sat, 9 Apr 2011 21:58:48 -0600

Bob Proulx wrote:
> Křištof Želechovski wrote:
> >   1. Find a file in /tmp owned by somebody else and not owned by you.  Say a.txt.
> >   2. { ln a.txt b1.txt; } # you created b.txt based on a.txt
> >   3. {  rm b1.txt; } # error: Operation not permitted.
> 
> Yes this is true.  But this doesn't have anything to do with either
> 'ln' or 'rm' but is instead a behavior associated with Unix
> filesystems and specifically the behavior of the sticky-bit on
> directories.  It is an operating system policy.  Therefore I am
> tagging this as not a bug in the bug tracking system.

There wasn't any further discussion, it is an operating system
filesystem behavior, and so I am closing this bug in the bug tracking
system for coreutils.

Bob