1.

Solve : Problem with permissions?

Answer»

I am a designer and wanted to put Drupal on my linux system (Ubuntu) just to muck around with. Which I have successfully done. But I can't add any modules to my files, I am coming up with permission problems. I have tried over and over to read what to do but am having no success I really need a walk through. I have USED the ls -al command to find the permissions which have come up as:
lrwxrwxrwx   1 root root    19 2011-02-06 07:52 sites -> /etc/drupal/6/sites
drwxr-xr-x   7 root root  4096 2011-09-14 13:47 themes
drwxr-xr-x  35 root root  4096 2011-09-14 13:47 modules   
So I gather it is a permission problem but I don't know where to GO from here. If anyone can help it would be great as I am about to give up.
It's a file ownership problem.  Your web server won't be running as root (at least I hope not!).  I think the Apache user is WWW-data on Ubuntu, usually.  From the same directory, you might try:

Code: [Select]chmod - R www-data:www-data *

Does that help?No such file or directory. I can't find any www folders anywhere either...You wouldn't get that error message if you typed the command exactly as set out above.



Discussion

No Comment Found