/l3/users/3-2-2020/NT-Ladm/debian1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 |
|
#chmod user f1
![]() chmod: invalid mode: `user' Try `chmod --help' for more information. |
#ls -l
total 4 -rw-r--r-- 1 root root 168 Feb 5 15:04 f1 -rw-r--r-- 1 root root 0 Feb 5 15:04 f4 |
#chgrp user f1
|
#chown user f1
|
#ls -l
total 4 -rw-r--r-- 1 user user 168 Feb 5 15:04 f1 -rw-r--r-- 1 root root 0 Feb 5 15:04 f4 |
#chown user:user f4
|
#ls -l
total 4 -rw-r--r-- 1 user user 168 Feb 5 15:04 f1 -rw-r--r-- 1 user user 0 Feb 5 15:04 f4 |
#chmod 777 f1
|
#ls -l
total 4 -rwxrwxrwx 1 user user 168 Feb 5 15:04 f1 -rw-r--r-- 1 user user 0 Feb 5 15:04 f4 |
#chmod 666 f1
|
|