lkml.org 
[lkml]   [2000]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: write permissions and root.
On Fri, 8 Sep 2000, Adam wrote:

> Hmm can someone remind me what (if) is the reason root is not bound by
> write permissions?

Because linux is not a trusted operating system. On linux,
root = uid 0 = superuser.


> [root@pepsi /tmp]# su adam
> [adam@pepsi /tmp]$ touch blah
> [adam@pepsi /tmp]$ chmod -w blah
> [adam@pepsi /tmp]$ echo hi > blah
> bash2: blah: Permission denied
> [adam@pepsi /tmp]$ exit
> exit
> [root@pepsi /tmp]# echo hi > blah
> [root@pepsi /tmp]# ls -l blah
> -r--r--r-- 1 adam adam 3 Sep 8 21:11 blah
>
> if this matters it is 2.4.0-test7

Correct me if I'm wrong, but I believe that all non-TOS
unices have behaved this way since the 70s.


--
Andrew McNabb
amcnabb@mcnabbs.org
http://www.mcnabbs.org/

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.036 / U:42.020 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site