Re: File Permissions are incorrect. Security flaw in Linux

From: Christian
Date: Thu Oct 02 2003 - 05:34:56 EST


Lisa R. Nelson wrote:

[root@localhost root]# cd /
[root@localhost /]# mkdir junk
[root@localhost /]# chmod 777 junk

therefore is the sticky bit: users can still create files in the directory, but only remove files they are owning:

chmod 1777 /junk

(as your /tmp should be).

do you mean the behaviour has changed for some kernel version? did you notice another behaviour with kernel version x.y.?

Thanks,
Christian.


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