Linux – cannot remove owned file with 777 permissions
来源:互联网 发布:费正清 中国新史 知乎 编辑:程序博客网 时间:2024/06/07 03:34
ls -altotal 12dr-xr-xr-x 3 rayell pg1083760 4096 2010-10-10 10:00 .drwxr-xr-x 3 rayell pg1083760 4096 2011-09-02 04:33 ..-rwxrwxrwx 1 rayell pg1083760 0 2011-09-02 06:38 default.settings.phpdrwxrwxrwx 2 rayell pg1083760 4096 2011-09-02 04:33 files-rwxrwxrwx 1 rayell pg1083760 0 2011-09-02 06:38 settings.phprm -Rf *rm: cannot remove `default.settings.php': Permission deniedrm: cannot remove directory `files': Permission deniedrm: cannot remove `settings.php': Permission denied
The reason is that the parent directory has
chmod 705
or something like that. You canchmod
the parent directory by the following command:chmod -R 777 directory_name
After this, you can remove that directory and the files it contains.
0 0
- Linux – cannot remove owned file with 777 permissions
- File Permissions - Linux etc.
- Linux file permissions - 1.0
- Linux file permissions - 1.0(翻译)
- Advanced File Permissions in Linux
- How Linux file permissions work
- IIS: Cannot Write Configuration File due to Insufficient Permissions
- File Permissions
- linux remove .swp file
- file added with wrong permissions, how to change?
- 3: Change File Permissions(Challenge: Working with the Command Line)
- rm: cannot remove Read-only file system
- Linux 下安装libxml出现cannot remove `libtoolT': No such file or directory Done
- Linux安装apache时 apr报错解决 rm: cannot remove `libtoolT': No such file or directory
- opencv编译安装中出现 file INSTALL cannot set permissions on这种问题
- linux - cannot execute binary file
- 4.5. File Access Permissions
- Unix File Permissions
- Android [USB]如何同时打开UMS和BICR(CD-ROM)
- 数据结构篇
- ios ipa apple company 开发者账号申请分享攻略
- 谈几点对抽象工厂模式的看法
- js操作userData保存临时数据
- Linux – cannot remove owned file with 777 permissions
- 文件分配表
- 输出文件夹中java文件的路径和文件数目
- 查找一个字符串中最大重复子串(C语言版)
- C - A strange lift 解题报告
- JQuery,Extjs,YUI,Prototype,Dojo 等JS框架的区别和应用场景简述
- 第三方JNI SDK开发——Delphi xe5
- nagios插件之hpux系统内存检查
- 收集linux几个快捷键