Skip to main content

Questions tagged [sticky-bit]

2 votes
2 answers
239 views

I've been reading up on the "sticky bit" and it's almost what i want… but not quite. Background I'm managing a small JupyterHub instance with three courses and an instructor for each course. ...
Dustin Wheeler's user avatar
1 vote
0 answers
190 views

Is there any documentation for the default permissions of the /tmp folder on *nix, in particular Linux? (Or perhaps /tmp doesn't have specified default permissions?) Background: I'm trying to ensure ...
burija's user avatar
  • 11
0 votes
1 answer
89 views

As shown below, on my Ubuntu system, carlo directory has the sticky bit permission set. It contains the file file1 owned by user lab. lab@ubuntu:~$ ll | grep carlo drwxrwxr-t 2 ubuntu ubuntu 4096 ...
CarloC's user avatar
  • 385
1 vote
1 answer
108 views

I'm carrying out a one-off configuration operation which requires a remote client to communicate with a remote server. The client runs Apache, which runs a configure binary, which fetches various ...
QF0's user avatar
  • 401
0 votes
1 answer
90 views

My task was to configure a directory so that users in a group could only delete files they own. I used chmod 1771 RandD, as suggested by lab instructions, to accomplish this. When running ls -l, the ...
user avatar
0 votes
0 answers
49 views

I try to set for NEW created files/directories in /home/test: group to "test" right to "770" This works for the group (1). chown :test /home/test chmod g+s /home/test But I do ...
chris01's user avatar
  • 1,049
1 vote
2 answers
4k views

I've always heard that sticky bit should be only used with directories, and I understand that, but what is the meaning if it is applied to a file. If I set the sticky bit to a file and do an ls -la I ...
std124_lf's user avatar
0 votes
1 answer
852 views

I have a directory test with the owner user:group and 770 as permissions. I want, that every directory and file within test do have the same specifications. I tried chmod g+s,u+s test, which partially ...
Timo Treichel's user avatar
1 vote
2 answers
3k views

This doesn't work find / -type d -perm 1000 The problem is, that it matches only the exact permission (1000), but I only want to find out if the sticky bit is set or not. I don't care about the other ...
Bog's user avatar
  • 1,154
3 votes
2 answers
1k views

Anyone know why rocky can't write to /tmp/afile? Giving rocky permission as an other user with chmod o+w doesn't seem to work either 🤔 I updated the acl with: setfacl -m u:rocky:rw /tmp/afile id as ...
Newbie's user avatar
  • 33
1 vote
0 answers
223 views

I experience a strange behaviour in stick bit on /tmp directory and flock command. Tried with two cases: Case 1: create file with Ubuntu user, root have no access to the created file. ubuntu@:~$ touch ...
Tien Dung Tran's user avatar
4 votes
1 answer
569 views

Consider the following setup: # two users in groups sales useradd edwin useradd santos groupadd sales usermod -aG sales edwin usermod -aG sales santos # two users in group account useradd serene ...
KamilCuk's user avatar
  • 970
-2 votes
1 answer
2k views

I installed a fresh ubuntu with apache2. I created a new folder "/var/www/foobar" with the following user:group -> black www-data. I need new files created inside this folder to inherit ...
Black's user avatar
  • 2,148
3 votes
1 answer
650 views

The way I understand the sticky bit on directories is that only the owner of a file within that directory can delete the file, instead of everybody with write permission. I don't get, though, where ...
Tim's user avatar
  • 33
0 votes
0 answers
26 views

I'm prepping for the LPIC1 exam, strongly relying on their online material here. Can someone pls help me clarify this doubt? What is the difference among these: find ~ -perm 4000 find ~ -perm -4000 ...
WobblyWindows's user avatar

15 30 50 per page