write permissions and root.

From: Adam (adam@eax.com)
Date: Fri Sep 08 2000 - 22:19:01 EDT

  • Next message: Andre Hedrick: "Re: Notebook disk spindown"

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

    [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

    -- 
    Adam
    http://www.eax.com      The Supreme Headquarters of the 32 bit registers
    

    - 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/



    This archive was generated by hypermail 2b29 : Fri Sep 08 2000 - 21:20:08 EDT