Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Problem with permissions  (Read 3516 times)

0 Members and 1 Guest are viewing this topic.

katie72

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    Problem with permissions
    « on: September 29, 2011, 05:37:28 PM »
    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.

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: Problem with permissions
    « Reply #1 on: September 30, 2011, 07:54:09 AM »
    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?
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    katie72

      Topic Starter


      Newbie

      • Experience: Beginner
      • OS: Unknown
      Re: Problem with permissions
      « Reply #2 on: October 01, 2011, 04:37:02 PM »
      No such file or directory. I can't find any www folders anywhere either...

      Rob Pomeroy



        Prodigy

      • Systems Architect
      • Thanked: 124
        • Me
      • Experience: Expert
      • OS: Other
      Re: Problem with permissions
      « Reply #3 on: October 03, 2011, 06:03:58 AM »
      You wouldn't get that error message if you typed the command exactly as set out above.
      Only able to visit the forums sporadically, sorry.

      Geek & Dummy - honest news, reviews and howtos