Linked Questions
                        20 questions linked to/from How does the sticky bit work?
                    
                
            
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                12k
            
            views
        
        
            
            
            
        Adding suid to a binary file [duplicate]
                    My question is about suid! The logic behind that is to grant root permission when a privileged command is executed by a user. For example, passwd has such a feature.
$ ls -l /usr/bin/passwd 
-rwsr-xr-...
                
            
       
        
            
                127
            
            votes
        
        
            
                2
            
            answers
        
        
            
                302k
            
            views
        
        
            
            
            
        What does the 's' attribute in file permissions mean? [duplicate]
                    Please compare the following two lines:
-rws---r-x 1 root root 21872 2009-10-13 21:06 prg1 
-rwx---r-x 1 root root 21872 2009-10-13 21:06 prg2 
Does the setuid bit on prg1, along with the read and ...
                
            
       
        
            
                68
            
            votes
        
        
            
                1
            
            answer
        
        
            
                5k
            
            views
        
        
            
            
            
        What did the sticky bit originally do when applied to files?
                    In various places one can see the "sticky bit" accused of nowadays being a complete misnomer, as its functionality nowadays is to affect the write permissions on directories and act as a restricted ...
                
            
       
        
            
                17
            
            votes
        
        
            
                3
            
            answers
        
        
            
                15k
            
            views
        
        
            
            
        Who can change the permissions of a file/directory?
                    I believe (not sure) that the owner of a file/directory and the root user are the only users that are allowed to change the permissions of a file/directory. Am I correct or are there other users that ...
                
            
       
        
            
                21
            
            votes
        
        
            
                3
            
            answers
        
        
            
                14k
            
            views
        
        
            
            
            
        What are the different ways to set file permissions, etc., on GNU/Linux?
                    On Unix, a long time back, I learned about chmod:
the traditional way to set permissions on Unix
(and to allow programs to gain privileges, using setuid and setgid).
I have recently discovered some ...
                
            
       
        
            
                15
            
            votes
        
        
            
                3
            
            answers
        
        
            
                36k
            
            views
        
        
            
            
        How to set default group for files created in Samba share
                    I'm sharing a directory, /home/pi/pydev on a debian box (raspberry pi, in fact) with Samba. I'm reading from and writing to that directory from a Windows 7 machine. 
When I create, under W7, a file in ...
                
            
       
        
            
                8
            
            votes
        
        
            
                2
            
            answers
        
        
            
                30k
            
            views
        
        
            
            
        as root cannot remove file under /tmp operation not permitted
                    working on a server, operating system is SLES 11.4 x86-64.
There are many files, and folders, under the /tmp directory.
As root, I cannot remove anything under /tmp.  Such as rm -f sort5BtEdh or rm /...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                9k
            
            views
        
        
            
            
        How to remove directory flags on linux?
                    I have a folder called "post", when I write getfacl post I get these results:
# file: post
# owner: www-data
# group: ftpgroup
# flags: -s-
user::rwx
group::rwx
other::r-x
default:user::rwx
default:...
                
            
       
        
            
                3
            
            votes
        
        
            
                2
            
            answers
        
        
            
                4k
            
            views
        
        
            
            
            
        How do permissions on a directory affect files in it?
                    I just learned something that shocked me, because I did not have a clue it was a fact.
If I have a directory with the following permissions:
user@host:~$ ls -la testdir
total 8
drwxrwxrwx  2 user ...
                
            
       
        
            
                3
            
            votes
        
        
            
                2
            
            answers
        
        
            
                6k
            
            views
        
        
            
            
            
        How to copy a file I have permission to execute, but not permission to copy?
                    I have a file in a subdirectory of /etc/ which I would like to copy, I can run this file as a regular user, however when I run
cp /etc/subdir/desired_file .
I am refused permission. However I can ...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                5k
            
            views
        
        
            
            
        Difference between owner and group
                    Can we consider the owner as a group that has exactly 1 member? Does the owner have any special abilities apart from the given permissions?
I want to have two equal users with the same permissions in ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                2
            
            answers
        
        
            
                3k
            
            views
        
        
            
            
        sudo chmod-R 777 / [duplicate]
                    Hypothetical situation:
What would be the long term effects of running sudo chmod -R 777 /? I know that it means that all users have full permissions on all files, but are there any other side-effects?...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                3k
            
            views
        
        
            
            
            
        How to set permissions for future files?
                    I freely admit this is homework:
Imagine you and your friend host an IT faculty in your former school. The list of attendees is in the attached text file. You need to manage permissions for ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
            
        What are the ramifications of running binaries over NFS?
                    Our small business has about 10 employee workstations and an LDAP/NFS server infrastructure. We need to deploy our proprietary application (a compiled binary) on all of the workstations. But since we ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
            
            
        Unable to set setuid bit and file owner in debian package
                    I have the following structure:
./inst/opt/test/ls: a copy of the /bin/ls binary, just for the sake of simplicity.
./inst/DEBIAN/changelog:
test (1) unstable; urgency=low
  * test 1
 -- test <...
                
            
       
         
         
         
         
         
        