Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1451  / 1 Year ago, sun, january 1, 2023, 1:32:11

I copied a set of BlueJ files from /usr/share/doc/BlueJ to a ~/BlueJ directory however the files in folders are set to root permission and read only I need to be able to read/write them.



So in BlueJ folder there are sub folders for each project for example 'shapes' folder.



I found this command here for changing a singular file File Permissions Ubuntu



user@host:/home/user$ sudo chmod o+x /usr/local/bin/somefile


But how can I change the folder permissions and subsequently all files in folders for every project folder in ~/BlueJ?


More From » permissions

 Answers
1

Do


sudo chmod -R o+rwx ~/BlueJ

or


sudo chmod -R 755 ~/Bluej

where -R is for recursive and o+rwx is for others to have read/write and execute permissions.


If you want to take ownership of the folder and files:


sudo chown -R USERNAME.USERNAME ~/Bluej

where USERNAME is your Ubuntu username.


[#41639] Tuesday, January 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whoppinolo

Total Points: 93
Total Questions: 113
Total Answers: 107

Location: Cyprus
Member since Mon, Oct 24, 2022
2 Years ago
whoppinolo questions
Tue, Feb 14, 23, 08:30, 1 Year ago
Wed, Sep 28, 22, 06:56, 2 Years ago
Fri, May 27, 22, 01:55, 2 Years ago
Tue, Oct 12, 21, 09:33, 3 Years ago
;