ls -l /bin/ping
-rwsr-xr-x 1 root root 39864 06-07 03:48 /bin/ping
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.01 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.621 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.04 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.638 ms
l4nneret@linux-beyes:/tmp> rm -f /tmp/test.c
rm: 无法删除 “/tmp/test.c”: 不允许的操作
-rw-r--r-- 1 l4nneret l4nneret 0 11-23 12:03 l4.file
drwxrwsrwx 2 beyes users 4096 11-23 02:51 beyes
-rw-r--r-- 1 l4nneret users 0 11-23 12:06 l4.file2
beyes@linux-beyes:~/桌面> cat /etc/profile | grep "umask"
# The global umask value is stored in /etc/login.defs and
# will be set by pam_umask.so (see "man pam_umask").
#umask 022
#
# Umask which is used by useradd and newusers for creating
# new home directories.
#
UMASK 022
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |