I have a family directory for recipes, there are multiple accounts on my desktop. Is there a suggested way to allow everyone access to this directory, the sub-directories and its files?
I expect it's somethings like assigning each person to a group but at this point I don't know anything about group and giving group access to the above. Any help in pointing me to some resource is appreciated.
Multiple users accessing a directory - SOLVED
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Multiple users accessing a directory - SOLVED
Last edited by LockBot on Sat Aug 05, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Multiple users accessing a directory
Hi
Create a group such as 'recipes', assign members to it and then as the proprietary of the directory and sub, change the group owner ship, assign the access rights and transfer this change to all objects below.
Can be done inside the terminal or through the gui : contextual menu of the main directory, permissions tab, don't forget the small box at the bottom so that the change applies to all files below.
Create a group such as 'recipes', assign members to it and then as the proprietary of the directory and sub, change the group owner ship, assign the access rights and transfer this change to all objects below.
Can be done inside the terminal or through the gui : contextual menu of the main directory, permissions tab, don't forget the small box at the bottom so that the change applies to all files below.
Last edited by pit38 on Mon Feb 06, 2023 4:17 am, edited 1 time in total.
Re: Multiple users accessing a directory
Yes, the above, which is in practical terms to say
A warning is that if /the/recipe/direcrtory is in e.g. /home/dad that as of Mint 21 private home-directories would still interfere. Best solution is to not have /the/recipe/directory in /home/dad but e.g. /mnt or something.
Code: Select all
$ sudo addgroup recipes
$ sudo adduser dad recipes
$ sudo adduser mom recipes
[ ... ]
$ sudo chown -R :recipes /the/recipe/directory
$ sudo chmod -R g+rwx /the/recipe/directory
Re: Multiple users accessing a directory
Thanks to all this is a perfect solution. I'll mark as solved.