Friday, August 30, 2013

getfacl setfacl SPEACIAL PERMISSIONS GORVAM SADDAR


                                                           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {#getfacl} or # {setfacl} ~~~~~~~~~~~~~~~~~~~~~~~~~

                        TO GIVE SPAECIAL PERMISIIONS TO A PARTICULAR USER ON A PARTICULAR FILE.
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

Intro___ normally we set the permissions for all users on a file but to set the permissions for a single
                   Or a particular file for the particular users is {setfacl} or {getfacl} commands are used

Or
          These {getfacl/setfacl} are used for the special permissions of a single file for the single user.

Now _____________________________________________________________________________
                   How to use the setfacl or getfacl for assign permissions”’””””””””””””””””””””””””””””
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          CHECK PERMISSIONS::::::::::::::::::::::::::::::::::::::::::::
         
          #getfacl {filename} __________ to check the permissions on the file for any or all users or any.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

TO SET THE PERMISSIONS ON A FILE FOR A SINGLE USER__________________________

         
          #setfacl    -m  U:{username}:{rwx} {filename}__________ to set the permissions for a
                                                                                                          Particular user.


                                                For user  username     permissions      file for which the permissions are to set                      
                                                                 To which      applier for
                                                                Permission     user
                                                                applied                                                  

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.