Navigate: homepage/help/tar

Permissions troubleshooting

Fix broken permissions

Rookie mistake

Fucked permissions ? Use rsync from wsl ?

Solution

The following commands will set files and directories to good permission status

#To change all the directories to 755 (drwxr-xr-x):
find /path/to/directory -type d -exec chmod 755 {} \;

#To change all the files to 644 (-rw-r--r--):
find /path/to/directory -type f -exec chmod 644 {} \;

directory is target directory.