So,
ls -l
filename size date permissions
hosed.dat 900MB March 5, 2009 rwxrwxrwx
chmod -x
chmod +t
ls -l
filename size date permissions
hosed.dat ?? ?? ??
I thought I was crazy, but you must execute your sticky. 'man chmod'
RESTRICTED DELETION FLAG OR STICKY BIT
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. For regular files on some older systems, the bit saves the program’s text image on the swap device so it will load more quickly when run; this is called the sticky bit.
Yah, swap device.
2 comments:
that doesn't make any sense....
that's why I always chmod -R 1777 everything
so thats why I have to go around doing chmod -R o-rwx on everything
Post a Comment