Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 15320  / 2 Years ago, sat, may 21, 2022, 10:20:33

So I barely began to explore and learn command line, I found that if I download files while in root access the files are automatically locked. My question is if there is a way to remove the lock to make it more easily accessible and without having to be in root or using the nautilus command, help will be very much appreciated, thank you.



btw: running on Ubuntu 12.xx


More From » directory

 Answers
0

You can easily do this from the terminal. When you download a file as root, it is owned by root and default permissions do not allow others to view or modify it. To give you access, you will need to change the owner to the user you want to have access. Assuming your username is brayan and the file is myfile.txt, you would use this command:



sudo chown brayan:brayan myfile.txt

[#37295] Saturday, May 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oatglori

Total Points: 313
Total Questions: 102
Total Answers: 111

Location: Guam
Member since Thu, May 18, 2023
1 Year ago
oatglori questions
;