Tuesday, September 26, 2023
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 11396  / 2 Years ago, sun, december 26, 2021, 5:55:30

I am using Ubuntu 14.04 and I have created another user in my system so that I could do my work easily and others dont poke me. But my problem is, I want to share a particular folder (Downloads folder) with another user so that he/she can also see all files and access them (Its OK if another user doesnt have permission to delete these files)...



I searched earlier and some guys are advising to make another user admin. But making admin isn't solving this problem as another user is not able to see anything in that particular folder even after being admin.. Please help..



And I don't want any solution in which another user has to type anything in terminal everytime..
Thannks


More From » permissions

 Answers
5

You can do this by adding the secondary user to a specific group, and then modifying the permissions of the shared folder. Here is how I would do it:



Add new group sharedfolders to your Group list:



    sudo addgroup sharedfolders


Then, add the secondary user to this group



   sudo usermod -a -G sharedfolders secondusername


Just replace "secondusername" with, well, your second username.



Lastly, on your main user that owns the folder you want to share. Right click the folder in your file browser, go to the permissions tab and under "group" select the correct permissions for the "sharedfolders" group. When on your secondary user account, you can browse to that folder and make a bookmark or link to it however you prefer to do that for easier access.


[#21718] Monday, December 27, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sweetrifiabl

Total Points: 422
Total Questions: 94
Total Answers: 120

Location: Bonaire
Member since Sat, Sep 24, 2022
1 Year ago
sweetrifiabl questions
Mon, Apr 4, 22, 16:02, 2 Years ago
Sat, Jul 17, 21, 01:40, 2 Years ago
Thu, Nov 18, 21, 17:36, 2 Years ago
Mon, Jan 17, 22, 19:02, 2 Years ago
Fri, Dec 9, 22, 20:16, 10 Months ago
;