January 2011
2 posts
3 tags
The origin of Unix file delete permissions
Unix file permissions fall into three basic categories, read, write and execute. Which one do you think controls file deletion? It’s probably write, right? Well, let’s test it: $ touch foo; chmod -w foo $ ls -l foo -r-------- 1 user group 0 2011-01-24 12:16 foo $ rm foo $ ls foo ls: cannot access foo: No such file or directory That’s weird, it looks like I successfully...
Jan 26th
2 notes
Jan 5th
1 note