Skip to content

优海

人,技术,生活。

  • 常用
  • 生活
  • 历史
  • 技术
  • 编程
  • 软件

Linux禁止用户访问某个目录

September 26, 2018 by euhat

比如root用户生成了一个文件夹dir0,再执行

1
chmod o-rwx dir0

chmod o-rwx dir0

那么当非root权限用户usr0访问此目录

1
2
cd dir0/
bash: cd: dir0/: Permission denied

cd dir0/ bash: cd: dir0/: Permission denied

Categories 技术 Tags Linux, 目录, 禁止, 访问
Post navigation
Android NDK动态获取系统版本
android 5.1源码下载
September 2018
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
« Aug   Oct »

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Email:
euhat@hotmail.com
wolinux@163.com

鄂ICP备14020742号-1

Tags

Android bash c Chrome cmake debug dpdk epoll Euhat fedora ffmpeg gdb include ipsec jni kernel Linux mat MFC mp4 NDK ofp opencv openssl printf python qt Rtsp source StrongSwan tcp ubuntu UE4 vmware win32 Windows 命令行 失败 年表 控件 日语 源码 皇帝 禁止 编译
© 2025 优海 • Built with GeneratePress