Re: [OT] Re: debian and ubuntu - answer from user not pretending to be guru

2009-05-06 Thread Alex Samad
On Tue, May 05, 2009 at 11:09:22PM -0500, Boyd Stephen Smith Jr. wrote:
 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

yes, had a brain fart, forgot you have to do a depth first deletion



-- 
Let me just first tell you that I�ve never been more convinced that the 
decisions I made are the right decisions.

- George W. Bush
09/12/2006
Washington, DC
said to journalists in the Oval Office (as reported by the National Review)


signature.asc
Description: Digital signature


[OT] Re: debian and ubuntu - answer from user not pretending to be guru

2009-05-05 Thread Alex Samad
On Mon, May 04, 2009 at 03:36:50PM +0100, Harry Rickards wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Daniel Burrows wrote:
  On Mon, May 04, 2009 at 08:51:28AM +0300, Andrei Popescu 
  andreimpope...@gmail.com was heard to say:
  On Sun,03.May.09, 10:18:49, Douglas A. Tutty wrote:

[snip]

 
 But if they can run aptitude in the first place, surely they could
 either su to root or use sudo to read or delete the files. Just my opinion.

how can you create files in $HOME that the owner of $HOME can't delete
?

[snip]

 


signature.asc
Description: Digital signature


Re: [OT] Re: debian and ubuntu - answer from user not pretending to be guru

2009-05-05 Thread Boyd Stephen Smith Jr.
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/\_/



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