Re: Standard-Rechte auf /var/tmp
Hallo,
>> drwxrwxrwt 15 root root 4096 3. Jun 16:30 tmp
>
>Dann kommt's ja hin mit 0777 8)
Nicht ganz. Richtig ist 1777. Die 1 steht für das sticky (t) Bit.
Aus chmod(1):
| The restricted deletion flag or sticky bit is a single bit, whose
| interpretation depends on the file type. For directories, it prevents
| unprivileged users from removing or renaming a file in the directory
| unless they own the file or the directory; this is called the restricted
| deletion flag for the directory, and is commonly found on world-writable
| directories like /tmp.
Gruß, Harald
Reply to: