[TAG] lpr works for user not root in Basiclinux 2.1

Ben Okopnik ben at linuxgazette.net
Thu Mar 8 04:10:26 MSK 2007


On Wed, Mar 07, 2007 at 07:04:00PM -0500, Sindi Keesan wrote:
> On Wed, 7 Mar 2007, Ben Okopnik wrote:
> 
> >On Mon, Mar 05, 2007 at 12:00:19PM -0500, Sindi Keesan wrote:
> >>
> >>In BL2.10  /tmp is drwxrwxrwt.  (Sticky bit set).
> >>Running Linux says this means 'Keep executable in memory after exit'. ??
> >
> >For directories, it means that for any file in that directory, only the
> >owner and root can remove that file regardless of permissions. This is
> >why some people also call it the "cooperative" bit: it's a good idea to
> >set it on directories where people are likely to share files.
> 
> So people can copy each other's files but not delete them?

No - so they can _modify_ each other's files (assuming the permissions
are right) but not delete them.

> Totally irrelevant for a single-user system. 
> Running Linux seems to be wrong here.

No, it's right - for files (although as I understand it, that usage is
no longer supported in newer Linux versions.) For directories, it has a
different meaning as I described.


-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *




More information about the TAG mailing list