-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文件权限被改变 #1755
Comments
是不是你的日志文件也设置输出到/etc/smartdns了? |
没有,配置就是上面那些,我是单独测试的 |
smartdns除了会修改日志目录, cache目录的权限和属组,不会修改其他任何目录文件的权限, |
没有其他软件的,这是服务器上跑的,上述配置是就是可复现的配置,可以确定是 smartdns 所为。 |
在我这里不能复现。顺便说一下我用docker但不用compose |
隔壁群里有人说挂载点使用相对路径就会有owner被改变的情况,改成绝对路径就好了。我没试,仅供参考 |
了解,晚点我来试试 |
测试 conf-file 不会修改权限,cache-file 则按预期修改了权限,将 cache 改为子目录后无问题。 |
问题现象
配置增加
conf-file
或cache-file
的配置后,./conf/app.ini
文件的权限总被改为 root./
文件夹目录的权限和所有者也老是变建议能读写就不要改 owner:group 了
运行环境
The text was updated successfully, but these errors were encountered: