CentOS 批量修改文件夹及文件用户权限和用户组权限
2015-06-05 08:53
666 查看
[root@localhost public_html]# ls -lh
总用量 27M
drwxrwxrwx 38 root root 4.0K 6月 4 12:05 Addons
[root@localhost public_html]# chown -R www * 批量修改目录下所有文件,用户为www
[root@localhost public_html]# chown -R :www * 批量修改目录下所有文件,用户组为www
总用量 27M
drwxrwxrwx 38 root root 4.0K 6月 4 12:05 Addons
[root@localhost public_html]# chown -R www * 批量修改目录下所有文件,用户为www
[root@localhost public_html]# chown -R :www * 批量修改目录下所有文件,用户组为www
相关文章推荐
- 阿里云服务器一键WEB环境配置---Linux学习笔记(3)
- linux系统make命令用法
- linux下wireshark不用sudo权限抓包包
- centos6.5 下smokeping的安装
- linux实战考试题:批量创建用户和密码-看看你会么?
- DNS的基本和高级配置
- I.MX6 Linux I2C device& driver hacking
- Linux有问必答:如何在虚拟机上配置PCI直通
- Linux有问必答:如何在虚拟机上配置PCI直通
- CentOS7安装OpenProj
- linux下echo与time服务的程序实现
- linux下线程
- linux下线程
- linux编程学习5-编写静态库
- 傻瓜式图文教你在linux下搭建VNC服务器
- Linux systemd
- Linux mmap函数简介
- Linux下用命令格式化U盘
- Linux学习笔记3
- Linux为什么能成功?