Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 16647  / 1 Year ago, mon, may 29, 2023, 3:57:22

I am using virtual box with ubuntu as the guest, which has a feature to share a folder between the host and guest, which is located for the guest in the media folder under root.



It is quite troublesome to sudo every time to perform any action on it. I respect sudo and would like to keep root away from the user, however, is there a way to give user access to a particular root folder without sudo'ing' all the time?


More From » permissions

 Answers
5

You can use chown to change ownership of a folder. For example, sudo chown stephen /media.



That being said, I think you can also mount the shared folder in your own home directory as well.


[#26803] Tuesday, May 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingssex

Total Points: 21
Total Questions: 122
Total Answers: 98

Location: Sweden
Member since Fri, Mar 26, 2021
3 Years ago
;