小兔网


Deprecated: Required parameter $toggle follows optional parameter $filterGroups in /home/wwwroot/ixiaotu.com/plugins/content/easycontentrestriction/easycontentrestriction.php on line 289

Deprecated: Required parameter $subnum follows optional parameter $n in /home/wwwroot/ixiaotu.com/plugins/content/easycontentrestriction/aop/AopClient.php on line 802

Deprecated: Required parameter $charset follows optional parameter $n in /home/wwwroot/ixiaotu.com/plugins/content/easycontentrestriction/aop/AopClient.php on line 802

Deprecated: Required parameter $length follows optional parameter $start in /home/wwwroot/ixiaotu.com/plugins/content/easycontentrestriction/aop/AopClient.php on line 815

如何针对用户和用户组设定文件权限,是学习 Linux 的一个非常重要的关卡。

所谓权限管理,其实就是指对不同的用户,设置不同的文件访问权限,包括对文件的读、写、删除等,在 Linux 系统中,每个用户都具有不同的权限,拿非 root 用户来说,它们只能在自己的主目录下才具有写权限,而在主目录之外,只具有访问和读权限。

如何处理好文件权限和用户之间的关系,是本章的重点。