chmod750和755_什么是chmod 755和700

chmod750和755

chmod750和755

chmod is Linux command used to change file permissions. chmod changes user, group and other read, write and execute permission. chmod 755 is popular use case for chmod . chmod 755 is generally used to make most of the operations without problem because it provides ease for system administrators while running applications.

chmod是用于更改文件权限Linux命令。 chmod更改用户,组和其他读取,写入和执行权限。 chmod 755是流行的用例chmodchmod 755通常用于大多数操作而不会出现问题,因为它在运行应用程序时为系统管理员提供了便利。

chmod 755 (chmod 755)

755 can be separated as

755可分为

  • 7 user can read, write, execute

    7用户可以读取,写入,执行

  • 5 group can read and execute

    5组可以阅读和执行

  • 5 others can read and execute

    其他5人可以阅读和执行

chmod 700(chmod 700)

700 can be separated as

700可以分隔为

  • 7 user can read, write, execute

    7用户可以读取,写入,执行

  • 0 group can not do anything

    0组无能为力

  • 0 others can not do anything

    0人无能为力

rwxr-xr-x(rwxr-xr-x)

Linux file system permissions provides two type of representation. One is using number we have all ready examined. Another presentation form for 755 is rwxr-xr-x . This is simple read , write and execute permissions.

Linux文件系统权限提供两种类型的表示形式。 一种是使用数字,我们已经准备就绪。 755另一种表示形式是rwxr-xr-x 。 这是简单的readwriteexecute权限。

须藤 (Sudo)

If we do not have required permissions as a normal user we need to get required privileges with the sudo command. We can also use chmod 755 with  sudo . In some situations we must use sudo because our current user rights will not meet required privileges.

如果我们没有普通用户所需的权限,则需要使用sudo命令获得所需的权限。 我们也可以将chmod 755sudo 。 在某些情况下,我们必须使用sudo因为我们当前的用户权限将不符合所需的特权。

$ sudo chmod 755 bin
 

翻译自: https://www.poftut.com/chmod-755-700/

chmod750和755

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值