Questions tagged [sticky-bit]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

SetGID on folder with Active Directory users

I have a directory which staff are allowed to sftp into on an Ubuntu 18.04 server. The directory is root:www-data owned (it's a web server) and I've set chmod +t and chmod g+s so data cannot be ...
-1
votes
1answer
259 views

Permission needed to create/remove file in a directory with sticky bit set

I understand that creating/removing a file from a directory with sticky bit set requires one of the followings you are root you are the owner of the file you are the owner of the directory and you ...
0
votes
1answer
236 views

How to add sticky bit to a directory in exFAT?

I get this error from Homebrew when trying to build an application on MacOS 10.10.5, on an exFAT filesystem Error: parent directory is world writable but not sticky I use this command to enable ...
7
votes
2answers
3k views

Why would a directory have the sticky bit set without the executable bit?

In Ubuntu 14.04, listing the contents of the directory /var/spool/cron with ls -l provides the following permissions on the directories within (irrelevant columns snipped): drwxrwx--T daemon daemon ...
3
votes
0answers
25 views

Removing a directory (that contains subdirectories) from a directory that has sticky bit [duplicate]

This is my setup [root@ ~]# mkdir /sticky01 [root@ ~]# chown user01:user01 /sticky01 [root@ ~]# chmod a+rwx /sticky01 [root@ ~]# chmod +t /sticky01 [root@ ~]# ls -ld /sticky01 drwxrwxrwt. 3 user01 ...
65
votes
1answer
4k 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 ...
0
votes
0answers
341 views

scp file to remote server prevent delete

A team want to implement a crude file dump backup solution to be used by multiple hosts. They have a remote user on the backup server backupusr that they can SSH/SCP with, with SSH keys setup. The ...
6
votes
1answer
6k views

how do you find all files and directories without sticky bit?

how do you find all files and directories without sticky bit? I have a bunch of old files that I need to delete so I use: find . -mtime +3 -a \( -type f -o -type d \) But then this find command will ...