博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Modifying File Permissions
阅读量:7135 次
发布时间:2019-06-28

本文共 617 字,大约阅读时间需要 2 分钟。

hot3.png

we can modify them using the chmod command. We pass in an octal permissions string and a file name, and it modifies the file we specify to have the permissions reflected by that string.

Typing chmod 0664 test.txt will give theowner read and write permissions, the groupread and write permissions, and everyone read only permissions.

Instructions

Modify test.txt so it has the following permissions:

  • owner -- read, write, and execute
  • group -- read and write
  • everyone -- no permissions

Remember to add a 0 in front of the octal permissions string.

 

####

chmod 0760 test.txt

转载于:https://my.oschina.net/Bettyty/blog/746434

你可能感兴趣的文章
WCF分布式开发步步为赢(10):请求应答(Request-Reply)、单向操作(One-Way)、回调操作(Call Back)....
查看>>
python的struct模块
查看>>
python进程和线程中的两个锁
查看>>
Java嵌入式数据库H2学习总结(二)——在Web应用程序中使用H2数据库
查看>>
(最小生成树 次小生成树)The Unique MST -- POJ -- 1679
查看>>
括号匹配(二) -- 经典动态规划
查看>>
在jsp中的css
查看>>
Java代理(三)
查看>>
intent.setFlags方法中的参数值含义
查看>>
Android GridView属性集合2
查看>>
加载静态文件,父模板的继承和扩展
查看>>
新的一个月,就这么不知不觉的来临了
查看>>
centos7.4之zabbix4.0的fping监控
查看>>
python基础知识 ~ 函数补充与反射
查看>>
xss攻击
查看>>
[CC-ANUCBC]Cards, bags and coins
查看>>
Riemann-Stieltjes积分存在的充分条件(按照Tom M.Apostol的《数学分析》上的定义)
查看>>
ahjesus —— javascript命名规范1.10
查看>>
caller 和 callee的对比
查看>>
使用GDB调试gp(转载)
查看>>