无限流 發表於 2018-3-29 09:59:16

Ubuntu怎么设置文件权限? Ubuntu中设置文件权限的方法

<p>今天我们就来介绍Ubuntu系统中进行文件权限的设置,该怎么设置呢?请看下文详细介绍。</p>
<p>1、首先我们运用ll命令来列举一下当前文件夹的文件详情,如下图所示,最前面的就是权限内容</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522060.jpg " /></p>
<p>2、然后我们来看一下权限内容的意思,<strong>r代表读,w代表写,x代表执行,</strong>如下图所示</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522061.jpg " /></p>
<p>3、接下来我们利用<span style="color: #ff0000"><strong>chmod命令</strong></span>,给拥有者赋予<strong>rwx的权限,</strong>如下图所示</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522162.jpg " /></p>
<p>4、然后给同组者设置权限,如下图所示,运用<strong>chmod命令,</strong>后面的g代表的是同组者</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522163.jpg " /></p>
<p>5、接下来<strong>如果chmod后面跟的是o字母则证明是给其他人设置的权限</strong>,如下图所示</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522164.jpg " /></p>
<p>6、如果想一起给三个类别的人员设置权限,则可以用逗号分隔开,如下图所示</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201803/2018032909522165.jpg " /></p>
<p>以上就是Ubuntu系统使用chmod命令给拥有者,同组者,其他人员三类级别设置权限的教程,希望大家喜欢,请继续关注琼殿技术社区。</p>
<p><strong>相关推荐: </strong></p>
<p><a target="_blank" href="https://www.jb51.net/os/Ubuntu/557763.html">ubuntu怎么显示右上角没有小键盘?</a></p>
<p><a target="_blank" href="https://www.jb51.net/os/Ubuntu/551772.html">Ubuntu系统怎么设置文件默认打开方式?</a></p>
<p><a target="_blank" href="https://www.jb51.net/os/Ubuntu/558290.html">ubuntu怎么进入指定的文件夹并更改路径?</a></p>
頁: [1]
查看完整版本: Ubuntu怎么设置文件权限? Ubuntu中设置文件权限的方法