Sharing Folders for Users Sharing the Same Computer

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have 4 users including myself which are in a specific groups. I also want to create 4 folders labeled Directors, Managers, General-Staff and Company-Wide.



jack is in the "Directors" group



Russel is in the "Managers" group



And Barry is in the "G-Staff" group



I want each group to have different permissions to each of these folders and don't know how. I also don't know how to share the folders among all users on the computer either.



This is for a college assignment and I would really appreciate some advice on how to create a folder that all users can see in their home directory and for those folders to be accessible depending the what that group is allowed to do to those folders. e.g. Barry can only read the "company-wide" folder as Russel has rwx permissions.



I am not in either of these three groups my self



thank you.










share|improve this question





















  • I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
    – Harry
    Apr 13 at 20:59










  • @pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
    – Harry
    Apr 18 at 19:42














up vote
0
down vote

favorite












I have 4 users including myself which are in a specific groups. I also want to create 4 folders labeled Directors, Managers, General-Staff and Company-Wide.



jack is in the "Directors" group



Russel is in the "Managers" group



And Barry is in the "G-Staff" group



I want each group to have different permissions to each of these folders and don't know how. I also don't know how to share the folders among all users on the computer either.



This is for a college assignment and I would really appreciate some advice on how to create a folder that all users can see in their home directory and for those folders to be accessible depending the what that group is allowed to do to those folders. e.g. Barry can only read the "company-wide" folder as Russel has rwx permissions.



I am not in either of these three groups my self



thank you.










share|improve this question





















  • I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
    – Harry
    Apr 13 at 20:59










  • @pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
    – Harry
    Apr 18 at 19:42












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have 4 users including myself which are in a specific groups. I also want to create 4 folders labeled Directors, Managers, General-Staff and Company-Wide.



jack is in the "Directors" group



Russel is in the "Managers" group



And Barry is in the "G-Staff" group



I want each group to have different permissions to each of these folders and don't know how. I also don't know how to share the folders among all users on the computer either.



This is for a college assignment and I would really appreciate some advice on how to create a folder that all users can see in their home directory and for those folders to be accessible depending the what that group is allowed to do to those folders. e.g. Barry can only read the "company-wide" folder as Russel has rwx permissions.



I am not in either of these three groups my self



thank you.










share|improve this question













I have 4 users including myself which are in a specific groups. I also want to create 4 folders labeled Directors, Managers, General-Staff and Company-Wide.



jack is in the "Directors" group



Russel is in the "Managers" group



And Barry is in the "G-Staff" group



I want each group to have different permissions to each of these folders and don't know how. I also don't know how to share the folders among all users on the computer either.



This is for a college assignment and I would really appreciate some advice on how to create a folder that all users can see in their home directory and for those folders to be accessible depending the what that group is allowed to do to those folders. e.g. Barry can only read the "company-wide" folder as Russel has rwx permissions.



I am not in either of these three groups my self



thank you.







permissions samba users






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 13 at 15:44









Iridiumunch

11




11











  • I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
    – Harry
    Apr 13 at 20:59










  • @pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
    – Harry
    Apr 18 at 19:42
















  • I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
    – Harry
    Apr 13 at 20:59










  • @pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
    – Harry
    Apr 18 at 19:42















I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
– Harry
Apr 13 at 20:59




I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.
– Harry
Apr 13 at 20:59












@pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
– Harry
Apr 18 at 19:42




@pomsky OK. Thank you, I wish that high-rep people could just convert comments to answers so we don't have to go through this so many times on SE.
– Harry
Apr 18 at 19:42










1 Answer
1






active

oldest

votes

















up vote
1
down vote













I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024700%2fsharing-folders-for-users-sharing-the-same-computer%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.






    share|improve this answer
























      up vote
      1
      down vote













      I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.






        share|improve this answer












        I would create the folders in /opt with mkdir (as root), then change the permissions to allow certain groups with chown and chmod, and then make symbolic links to the folders in the users' home directories with ln.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 18 at 19:42









        Harry

        25515




        25515



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024700%2fsharing-folders-for-users-sharing-the-same-computer%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

            Problem in reading from socket

            Do not install recommended packages of dependencies