How to add user permisson to directory? [duplicate]












0
















This question already has an answer here:




  • Giving a single user write permissions

    2 answers




How can I give user or group write permissons to a folder? in terminal session.
I allready know how to change folder permission/owner.
I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.



I guess the question is can you give multible users acces to a folder like you do in windows?
or maybe just add the user to a group that allready has access?



:)










share|improve this question













marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.























    0
















    This question already has an answer here:




    • Giving a single user write permissions

      2 answers




    How can I give user or group write permissons to a folder? in terminal session.
    I allready know how to change folder permission/owner.
    I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.



    I guess the question is can you give multible users acces to a folder like you do in windows?
    or maybe just add the user to a group that allready has access?



    :)










    share|improve this question













    marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





















      0












      0








      0









      This question already has an answer here:




      • Giving a single user write permissions

        2 answers




      How can I give user or group write permissons to a folder? in terminal session.
      I allready know how to change folder permission/owner.
      I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.



      I guess the question is can you give multible users acces to a folder like you do in windows?
      or maybe just add the user to a group that allready has access?



      :)










      share|improve this question















      This question already has an answer here:




      • Giving a single user write permissions

        2 answers




      How can I give user or group write permissons to a folder? in terminal session.
      I allready know how to change folder permission/owner.
      I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.



      I guess the question is can you give multible users acces to a folder like you do in windows?
      or maybe just add the user to a group that allready has access?



      :)





      This question already has an answer here:




      • Giving a single user write permissions

        2 answers








      command-line server permissions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 24 at 8:23









      gaujixgaujix

      1




      1




      marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          1 Answer
          1






          active

          oldest

          votes


















          1














          you can use ACLs for that.



          setfacl -m u:username:rwx /path/to/folder



          • u: for username

          • g: for group

          • replace username with groupname for groups

          • for folder use -R for recursive permissions.


          If more information needed, just google for Linux ACLs, you will get tons of information.






          share|improve this answer






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            you can use ACLs for that.



            setfacl -m u:username:rwx /path/to/folder



            • u: for username

            • g: for group

            • replace username with groupname for groups

            • for folder use -R for recursive permissions.


            If more information needed, just google for Linux ACLs, you will get tons of information.






            share|improve this answer




























              1














              you can use ACLs for that.



              setfacl -m u:username:rwx /path/to/folder



              • u: for username

              • g: for group

              • replace username with groupname for groups

              • for folder use -R for recursive permissions.


              If more information needed, just google for Linux ACLs, you will get tons of information.






              share|improve this answer


























                1












                1








                1







                you can use ACLs for that.



                setfacl -m u:username:rwx /path/to/folder



                • u: for username

                • g: for group

                • replace username with groupname for groups

                • for folder use -R for recursive permissions.


                If more information needed, just google for Linux ACLs, you will get tons of information.






                share|improve this answer













                you can use ACLs for that.



                setfacl -m u:username:rwx /path/to/folder



                • u: for username

                • g: for group

                • replace username with groupname for groups

                • for folder use -R for recursive permissions.


                If more information needed, just google for Linux ACLs, you will get tons of information.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 24 at 8:27









                rɑːdʒɑrɑːdʒɑ

                58.4k85218302




                58.4k85218302















                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?