Security issue with .desktop files revisited
Liam R E Quin
liam at holoweb.net
Tue Mar 28 19:23:09 EEST 2006
On Tue, 2006-03-28 at 14:57 +0200, Joerg Barfurth wrote:
> From Solaris man-pages:
>
> chmod(1):
> [...] Only the super-user may
> set the sticky bit on a non-directory file.
[...]
> So neither does this bit have no effect, nor can it be set by ordinary
> users.
>
> I'd assume other Unixes with a common ancestor would behave similarly.
Right, although the effect changes between systems. In V7 Unix the
sticky bit on an executable meant it was kept in physical memory and
never swapped out; at one point on SunOS the sticky bit enabled
read-ahead for text files I think, too. In either case it changed
the behaviour of the virtual memory system, and hence could only
be set by root.
With the introduction of demand paging, Unix systems reinterpreted
the sticky bit, but all differently.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://wwwfromoldbooks.org/
XML Blog: http://people.w3.org/~liam/blog/
Liam on the Web at http://www.holoweb.net/~liam/
More information about the xdg
mailing list