lkml.org 
[lkml]   [1999]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [security]: kernel ioctl()'s [3]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 2 Jul 1999, Jamie Lokier wrote:

> Theodore Y. Ts'o wrote:
> > (Yes, I realize there are a few differences, such as it
> > prevents unlinking the file, and you can't do that without changing the
> > permissions on the containing directory, which you might not own.)
>
> Security alert... if I hard link to some elses file and they set the
> user-immutable bit (and deleted their last link) I can't clean out my
> own directory?
>

Can't be done, the file is immutable so they can't unlink it until they
remove the user-immutable bit. To end up with the file immutable again
they have to set the immutable bit in your directory.

> -- Jamie
>
Bryn
- --
Or words to that effect ...
PGP pubkeys from http://www.gytha.demon.co.uk/pubkey.asc.


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: Silly comment here ...
Charset: noconv

iQA/AwUBN39mpd94IUtvfSqaEQKIfgCfUNyIYYUqmBCIPcXoPB2yHVl0uvkAoP4o
77W0IJZ8y7TezcY7XI048IFY
=VjAp
-----END PGP SIGNATURE-----


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.059 / U:1.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site