$ touch 1
touch: cannot touch ‘1’: Permission denied
$ who
root pts/5 2015-01-30 16:48 (43.68.41.127)
test pts/7 2015-01-30 16:56 (43.68.41.127)
答案 0 :(得分:1)
使用chown
命令为用户授予特定用户权限。如下所示,
chown username file
chown username folder
chown -R username folder #recursive