how can i give acl permission in numerical mode on linux

Answers were Sorted based on User's Feedback



how can i give acl permission in numerical mode on linux..

Answer / pramod kumar mohapatra

setfacl -m u:username:7 filename //{it means i have given rwx}

Is This Answer Correct ?    29 Yes 1 No

how can i give acl permission in numerical mode on linux..

Answer / mahireddy

setfacl -u 666 its for full permistion
setfacl -u 646 its for others have full permestion

Is This Answer Correct ?    10 Yes 3 No

how can i give acl permission in numerical mode on linux..

Answer / susheel

[root@susheel ~]# useradd susheel
[root@susheel ~]# mkdir ballia
[root@susheel ~]# setfacl -m u:susheel:7 ballia/
[root@susheel ~]# getfacl ballia/
# file: ballia
# owner: root
# group: root
user::rwx
user:susheel:rwx
group::r-x
mask::rwx
other::r-x

Note: here 7 means rwx for susheel

Is This Answer Correct ?    6 Yes 0 No

how can i give acl permission in numerical mode on linux..

Answer / sandeep badsra

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>

Is This Answer Correct ?    9 Yes 12 No

Post New Answer

More Linux Commands Interview Questions

What are two subtle differences in using the more and the pg commands?

2 Answers   Airtel,


What is in mkdir command?

0 Answers  


How can you copy lines into the buffer in command mode?

0 Answers  


What is p command?

0 Answers  


How can I create a file with cmd?

0 Answers  






in LINUX,What are two subtle differences in using the more and the pg commands?

2 Answers  


What is umask 000?

0 Answers  


What language is clang written in?

0 Answers  


What are the basic dos commands?

0 Answers  


What is netstat command in linux?

0 Answers  


How do you execute more than one command or program from a single command line entry?

0 Answers  


i am working in one company and i attend intervew they asked why do u want to chage company pls give me inteligent answar

3 Answers  


Categories