?

Log in

No account? Create an account
File permissions... - a bug's thoughts [entries|archive|friends|userinfo]
The Love Bug

website | Dave Lee
userinfo | livejournal userinfo
archive | journal archive

File permissions... [Nov. 11th, 2007|11:19 am]
The Love Bug
[Tags|]

Heh...

aaron@kratos:~$ mkdir base; cd base
aaron@kratos:~/base$ touch base{1,2,3,4}
aaron@kratos:~/base$ ls -l
total 0
-rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base1
-rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base2
-rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base3
-rw-r--r-- 1 aaron aaron 0 Nov 4 01:59 base4
aaron@kratos:~/base$ su -
Password:
root@kratos:~# useradd us
root@kratos:~# cd /home/aaron
root@kratos:/home/aaron# chown -R us.us base/
root@kratos:/home/aaron# ls -l base/
total 0
-rw-r--r-- 1 us us 0 Nov 4 01:59 base1
-rw-r--r-- 1 us us 0 Nov 4 01:59 base2
-rw-r--r-- 1 us us 0 Nov 4 01:59 base3
-rw-r--r-- 1 us us 0 Nov 4 01:59 base4
LinkReply

Comments:
[User Picture]From: dottey
2007-11-11 12:33 pm (UTC)
At first, I was reading your commands to find something wrong.

Then I thought, "yeah, no big deal. that looks right."

And then... I got it! LOL!
(Reply) (Thread)