Author Topic: acl permission  (Read 725 times)

hameedkm

  • Blue Belt
  • ****
  • Posts: 111
  • Karma: +0/-0
acl permission
« on: September 19, 2013, 04:36:55 PM »
Hello,

How to give acl permission in numerical mode on linux?

Thanks

afsalabdulla

  • Green Belt
  • *****
  • Posts: 218
  • Karma: +0/-0
Re: acl permission
« Reply #1 on: September 19, 2013, 04:37:37 PM »
Hai,

By using chmod command for example chmod 777 <file name> its for full permissionof the file
read =4
write =2
execute=1
user group other
7 7 7
4+2+1 4+2+1 4+2+1
r+w+e r+w+e r+w+e
other example
we give permission to user to full and give group and other
to only read and execute than
chmod 755 <file name>

Thanks
afsal

mithundatasoft

  • Orange Belt
  • ***
  • Posts: 72
  • Karma: +0/-0
Re: acl permission
« Reply #2 on: September 20, 2013, 06:23:55 AM »
Hello

The chmod command modifies the mode bits and the extended access control
lists (ACLs) of the specified files or directories. The mode can be
defined symbolically or numerically (absolute mode).

To Change File Modes Symbolically

chmod [ -R ] [ -h ] [ -f ] [ [ u ] [ g ] [ o ] | [ a
] ] { { - | + | = } [ r ] [ w ] [ x ] [ X ] [ s ] [ t
] } { File ... | Directory ... }

To Change File Modes Numerically

chmod [ -R ] [ -h ] [ -f ] PermissionCode { File ... | Directory
... }


Thanks