Linked Questions

2 votes
1 answer
12k views

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-...
mahmood's user avatar
  • 1,271
127 votes
2 answers
302k views

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 ...
anders's user avatar
  • 1,373
68 votes
1 answer
5k views

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 ...
JdeBP's user avatar
  • 71.9k
17 votes
3 answers
15k views

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 ...
user226341's user avatar
21 votes
3 answers
14k views

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 ...
ctrl-alt-delor's user avatar
15 votes
3 answers
36k views

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 ...
RolfBly's user avatar
  • 847
8 votes
2 answers
30k views

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 /...
ron's user avatar
  • 9,122
1 vote
2 answers
9k views

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:...
stramin's user avatar
  • 113
3 votes
2 answers
4k views

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 ...
geruetzel's user avatar
  • 462
3 votes
2 answers
6k views

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 ...
Pale's user avatar
  • 31
1 vote
2 answers
5k views

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 ...
thanosam's user avatar
-1 votes
2 answers
3k views

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?...
vikarjramun's user avatar
3 votes
1 answer
3k views

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 ...
aaaeee's user avatar
  • 131
2 votes
1 answer
1k views

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 ...
Nick's user avatar
  • 1,181
0 votes
1 answer
1k views

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 <...
Kiril Kirov's user avatar

15 30 50 per page