Not quite. setuid/setgid, when applied to a directory, make files created within that directory inherit the user/group of the directory, instead of the user/default group of their creator. the setuid bit generally doesn't work on directories (for rather obvious security reasons), unless a particular flag is set against the file system in/etc/fstab.
The sticky bit is used to secure directories like/tmp, and prevents you from removing files from the directory -- even if you have write permissions -- unless you are the owner of the file.
Is that the sticky bit?
/etc/fstab.
/tmp, and prevents you from removing files from the directory -- even if you have write permissions -- unless you are the owner of the file.
Not quite. setuid/setgid, when applied to a directory, make files created within that directory inherit the user/group of the directory, instead of the user/default group of their creator. the setuid bit generally doesn't work on directories (for rather obvious security reasons), unless a particular flag is set against the file system in
The sticky bit is used to secure directories like