Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Write Permissions Error

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2075 Views
  • Chosen
    Avatar
    Community Member
    4 Posts

    Write Permissions Error Link to this post

    Hi there,

    I've recently installed apache, php5 and mysql in ubuntu on my laptop for development purposes.

    For my first project I decided to take a look at the silverstripe CMS.
    I downloaded it put it in the www folder that I created for it and am now trying to install it. These are the remaining file access errors I'm getting before installation will continue.

    Quote:
    Is the .htaccess file writeable? User 'www-data' needs to be able to write to this file:
    /home/gareth/www/Insight/.htaccess
    Is the mysite/ folder writeable? User 'www-data' needs to be able to write to this file:
    /home/gareth/www/Insight/mysite
    Is the tutorial/ folder writeable? User 'www-data' needs to be able to write to this file:
    /home/gareth/www/Insight/tutorial
    Is the assets/ folder writeable? User 'www-data' needs to be able to write to this file:
    /home/gareth/www/Insight/assets
    How do I give write permission to this user and how do I create the "www-data" user if it does not exist already?

    I'm new to linux so please don't assume I know where to find any files I might need to edit.

    Thanks

    Gareth

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Write Permissions Error Link to this post

    Open up a terminal window and cd to where your www directory so something like cd /home/gareth/www/ and once you are there you can do a chmod 777 on the project folder.

    Check out this for a nice tutorial on how to use chmod on unix/linux - http://catcode.com/teachmod/index.html

  • karlim
    Avatar
    Community Member
    8 Posts

    Re: Write Permissions Error Link to this post

    but it still warn when the server is windows.
    can u tell me what is the matter?

    2075 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.