我相知道/var默认的文件权限是什么
Tofloor
poster avatar
billiskilled
deepin
2015-03-10 04:58
Author
是777还是700还是600啊?我把它的权限改了,现在想改回去,但是不知道它的原来的权限,有没有 人可以告诉我?
Reply Favorite View the author
All Replies
ldsink
deepin
2015-03-10 17:47
#1
drwxr-xr-x  11 root root  4096 Dec 12 23:09 var
所以是 755
Reply View the author
MattD
deepin
2015-03-10 17:53
#2
/var本身是755,但是/var下面的各级目录都有不同的权限,如果你是递归改了权限,那么估计难以修复了。
Reply View the author
Feng Yu
deepin
2015-03-12 17:38
#3
chmod -R是危险的操作,千万不要视图对你不清楚权限的目录做这个操作,会带来无法修复的异常。比如chmod -R xxx /etc
Reply View the author