In <20090506023930.gb12...@samad.com.au>, Alex Samad wrote:
>how can you create files in $HOME that the owner of $HOME can't delete
>?

b...@monster:~$ sudo mkdir data
[sudo] password for bss:
b...@monster:~$ sudo touch data/file
b...@monster:~$ rm -rf data
rm: cannot remove `data/file': Permission denied
b...@monster:~$ ls -ld data
drwxr-xr-x 2 root root 72 2009-05-05 23:07 data
b...@monster:~$ rmdir data
rmdir: failed to remove `data': Directory not empty
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to