Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make directory writable? [closed]

Tags:

terminal

macos

People also ask

How do I fix directory is not writable?

Step 4: Right-click on the folder and select “Properties.” Step 5: Click on the “Permissions” tab to gain access to the permissions of the folder. Step 6: Use the permission window to set the folder to whichever permissions you'd like. Then, click the “Change Permissions” button.

Is chmod permanent?

You can't make it permanent, but you can automate the chmod command at boot-time by putting it in /etc/rc.


  • chmod +w <directory> or chmod a+w <directory> - Write permission for user, group and others

  • chmod u+w <directory> - Write permission for user

  • chmod g+w <directory> - Write permission for group

  • chmod o+w <directory> - Write permission for others


chmod +w <directory>

chmod 777 <directory>

This will give you execute/read/write privileges. You can play with the numbers to finely tune your desired permissions.

Here is the wiki with great examples.


To make the parent directory as well as all other sub-directories writable, just add -R

chmod -R a+w <directory>