Trying to copy my drupal installation for a backup, I get lots of permissions errors from files in the sites/default/files/ directory. It turns out they're owned by unix user 'nobody', and chmod -rw-------, which means I can't read them.

Is this some security devilry on the part of my webhost, that I should beg them to relax? Or is Drupal doing this? It's making it mighty hard to do a good archival tarball!

Comments

brst t’s picture

Haven't seen this with drupal, but you can just chown it

chown -R yourusername:yourusergroup directoryandallbeneath/

You might have to change permissions on them after that: man chmod

svref’s picture

"Operation not permitted"

brst t’s picture

sudo chown .. ?

Contact your host. They're the ones set up to ensure this sorta thing gets done.