Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to set a ACL for the user or a file?

Answers were Sorted based on User's Feedback



How to set a ACL for the user or a file?..

Answer / mahesh savalia

To set ACL for user
# setfacl -m user:<username>:rwx <filename>

To set ACL for group
# setfacl -m group:<groupname>:rwx <filename>


to check the same

# getfacl <filename>

Is This Answer Correct ?    1 Yes 0 No

How to set a ACL for the user or a file?..

Answer / srinivas

setfacl -M u:permisons m:mask value of the permisons(rwx)

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Solaris AllOther Interview Questions

hi can u tell me how i can install sunsolais in my windows 7 OS? & WE CAN RUN SOLARIS & WINDOES7 IN SINGLE OS.? PLZ HELP

3 Answers  


How do you get system diagnostics information?

5 Answers  


How to create a gateway?

4 Answers   CTS,


What is the difference between NFS version 2 and NFS version 3?

2 Answers   IBM,


When the system is hang?Unable to login,and console is available?what is the action u will take?

2 Answers  


How do you give a user access to an application or program that needs to run as root without giving them the root password?

3 Answers  


how to chk who r the users currently ogged in to the system..?

4 Answers  


what r the daemons have been started when u install Veritas

3 Answers   IBM,


In solaris we have 2 directories for commands. what are they..? is there any difference b/w those..?

3 Answers  


How to detect a newly added device if you are not able to detect the device using devfsadm?

1 Answers  


How to set a ACL for the user or a file?

2 Answers   Cap Gemini,


What is JASS?

1 Answers   IBM,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)