这个 chown 命令咋写哈~~
source link: https://www.v2ex.com/t/889074
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
安装了 webdav 服务端 sftpgo 其他都完美,但是自定义目录的时候发现 sftpgo 没有权限访问. 想问一下如何设置"/root/sftpgo" 目录的权限可以让 sftpgo 访问哈
测试了一下直接这样是不行啊
chown -vR sftpgo:sftpgo /root/sftpgo
需要这样才可以~~
chown -vR sftpgo:sftpgo /root
但是还是想问一下,有办法只给 sftpgo:sftpgo 用户 /root/sftpgo 的权限码?
作者的回复如下,不是很专业啊,求 MJJ~~
make sure that the sftpgo system user has at least the read permission to any parent directory, so in the example above /home/username and /home must not have 0700 permissions
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK