紊 Linuxラ膩

maya
篁ャLinux泣若 ゃ荅宴

 

maya
篁<ゃc紊眼ゃ茯

nao
c<ゃ若若

maya
綽障c≪祉号┤若激с緇膺

nao
障с障[guest]с違ゃ潟帥若莎桁

 

[guest@localhost ~]$

 

maya
障筝羣guest.txt<ゃguestdirc篏

 

1. guest.txt <ゃ篏

[guest@localhost ~]$ touch guest.txt

 

2. guestdir c篏

[guest@localhost ~]$ mkdir guestdir

 

3. 篏<ゃc腆肴

[guest@localhost ~]$ ls -l 
-rw-rw-r--. 1 guest guest 5 3 13 21:00 guest.txt
drwxrwxr-x. 2 guest guest 6 3 13 21:05 guestdir
...

 

nao
篁<ゃc若若[guest]

maya
篁若若[guest]若吟[nao]若吟紊眼篋若若紊眼若吟篏綽荀障篏鴻域若吟篏

 

chown 潟潟

maya
紊眼chown 潟潟篏帥

 

chown 潟潟篏睡箴
chmod [若九] [<ゃor c]

 

maya
сcguest.txt<ゃ紊眼

 

1. chonw 潟潟ф紊眼鐚膊∞罔у茵鐚

[root@localhost ~]# chwon nao /home/guest/guest.txt

 

2. ls潟潟ф腆肴

[guest@localhost ~]$ ls -l
-rw-rw-r--. 1 nao   guest 5 3 13 21:00 guest.txt
drwxrwxr-x. 2 guest guest 6 3 13 21:05 guestdir
...

...

 

nao
若若[nao]紊cс違若[guest]障障

maya
違若[nao]紊眼帥

 

1. chonw 潟潟ф紊眼鐚膊∞罔у茵鐚

[root@localhost ~]# chwon nao.nao /home/guest/guest.txt

 

2. ls潟潟ф腆肴

[guest@localhost ~]$ ls -l
-rw-rw-r--. 1 nao   nao   5 3 13 21:00 guest.txt
drwxrwxr-x. 2 guest guest 6 3 13 21:05 guestdir
...

...

 

nao
篁綺違若[nao]紊眼

maya
違若紊眼.違若у眼с膓cc帥

 

1. chonw 潟潟с若激с潟紊眼鐚膊∞罔у茵鐚

[root@localhost ~]# chwon nao.nao /home/guest/guestdir

 

2. ls潟潟с若激с潟腆肴

[guest@localhost ~]$ ls -l
-rw-rw-r--. 1 nao   nao   5 3 13 21:10 guest.txt
drwxrwxr-x. 2 nao   nao   6 3 13 21:15 guestdir
...

...

 

nao
c若若[nao]紊c

maya
号сguestdir罔紊眼guestdir筝<ゃc罔紊眼翫-R激с潟綽荀

nao

maya
篁絨障ャ

 

  • <ゃc紊眼 chown 潟潟

 

鐚鐚若祉鐚鐚