Re: Permission inheritance problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18Nov2011 15:34, kavya <kavya.g4@xxxxxxxxx> wrote:
| so if i set a sticky bit it applies for owner also????

1: Please DO NOT top post. Replies belong _below_ the quoted text, which
   should be trimmed to provide context and not clutter.

2: No. Reading "man chmod" (you _have_ done this already, yes?):

    RESTRICTED DELETION FLAG OR STICKY BIT
       The  restricted  deletion  flag  or  sticky  bit is a single bit,
       whose interpretation depends on the file type.  For directories, it
       prevents unprivileged  users  from  removing or renaming a file in the
       directory unless they  own  the  file  or  the  directory;  this  is
       called  the restricted  deletion  flag  for the directory, and is
       commonly found on world-writable directories like /tmp. [...]

The manual is your friend.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I have an inferiority complex, but it isn't a very good one.
        - Bill Garrett <garrett@xxxxxxxxxx>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux