Skip to main content
Post Undeleted by Sari
added 48 characters in body
Source Link
Sari
  • 91
  • 1
  • 10

try this: Just just replace the "USER" with your login name without the quots.Quotations this should solve all permission problems

cd /var/www sudo chown -R "USER":www-data . sudo chmod -R 750 . find . -type d -wholename "*/sites/*/files" -exec sudo chmod -R 770 {} \;
cd /var/www
sudo chown -R "USER":www-data .
sudo chmod -R 750 .
find . -type d -wholename "*/sites/*/files" -exec sudo chmod -R 770 {} \;
sudo chmod g+s .
find . -type d -exec sudo chmod g+s {} \;
sudo chmod g+s .

this will set all the permissions as suggested by drupal if the problem still persists then the problem isnt with permissions

find . -type d -exec sudo chmod g+s {} \;

try this: Just replace the "USER" with your login name without the quots.

cd /var/www sudo chown -R "USER":www-data . sudo chmod -R 750 . find . -type d -wholename "*/sites/*/files" -exec sudo chmod -R 770 {} \; sudo chmod g+s . find . -type d -exec sudo chmod g+s {} \;

try this just replace "USER" with your login name without the Quotations this should solve all permission problems

cd /var/www
sudo chown -R "USER":www-data .
sudo chmod -R 750 .
find . -type d -wholename "*/sites/*/files" -exec sudo chmod -R 770 {} \;
sudo chmod g+s .
find . -type d -exec sudo chmod g+s {} \;

this will set all the permissions as suggested by drupal if the problem still persists then the problem isnt with permissions

Post Deleted by Sari
Source Link
Sari
  • 91
  • 1
  • 10

try this: Just replace the "USER" with your login name without the quots.

cd /var/www sudo chown -R "USER":www-data . sudo chmod -R 750 . find . -type d -wholename "*/sites/*/files" -exec sudo chmod -R 770 {} \; sudo chmod g+s . find . -type d -exec sudo chmod g+s {} \;