The rights and previledges in Linux.

本文介绍了Ubuntu系统中文件系统的权限设置方法,包括所有者用户、所有者组的读、写、执行权限,以及如何通过系统设置为用户添加权限。

1. The rights on the file system.

 

    Rights             Owner User    Owner Group

    drwxr-xr-x   2 robert               robert                       4096 2008-07-26 11:44 Pictures
    drwxr-xr-x   2 robert               robert                       4096 2008-07-26 11:44 Public

 

    Owner user and Owner Group owns the file or folder.

 

    drwxrwxrwx, from left to right, it means

    (1). d : Dir

    (2). The first rwx(The owner's rights) : read right|write right| execute right

    (3). The second rwx(The user's rights in the same group) : read right|write right| execute right

    (4). The third rwx(Theuser's rights in other groups) : read right|write right| execute right

 

2. The previledges of the user.

     In ubuntu, you can add the previledges

     (1). System -> Administration -> Users and Groups

     (2). Select the Robert user, click the Properties , switch to the User Priviledges , and there you go.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值