• I accidentally set all (bulk) permissions of files and folders to 750, and it’s impossible for me to change back permissions individually for each file because there are so many files.

    Is there a way to set permissions (with one click) 750 for folders, and 640 for files?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not really a WordPress question, nor do you specify what tools you have at your disposal. Assuming you have terminal access

    find /path/to/base/dir -type d -exec chmod 750 {} +

    find /path/to/base/dir -type f -exec chmod 640 {} +

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bulk Change Files Permission’ is closed to new replies.