[frodo@instructor corp]$
[frodo@instructor corp]$
[frodo@instructor corp]$ ll
total 0
-rw-rw-r--. 1 frodo IT 0 Jan 2 22:00 frodofile
-rw-rw-r--. 1 pippin IT 0 Jan 2 22:01 pippinfile
-rw-rw-r--. 1 sam IT 0 Jan 2 22:01 samfile
[frodo@instructor corp]$ vim samfile
edit by frodo
~
~
"samfile" 1L, 14C written (这里不再是readonly)
[frodo@instructor corp]$ su - sam
Password:
[sam@instructor ~]$ cd /corp
[sam@instructor corp]$ ll
total 4
-rw-rw-r--. 1 frodo IT 0 Jan 2 22:00 frodofile
-rw-rw-r--. 1 pippin IT 0 Jan 2 22:01 pippinfile
-rw-rw-r--. 1 sam IT 14 Jan 2 22:06 samfile
[sam@instructor corp]$ cat samfile
edit by frodo
Linux培训笔记之Linux权限详解(2)
内容版权声明:除非注明,否则皆为本站原创文章。