Appliance User names

lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Sun, 2006-10-01 02:53

I have followed the instructions (I think) to get the SVN version of G2. I am logged in as root to do the svn update so gallery can't write to the files so in DP all the modules are locked. Is there a way to get this where I either login as whatever user Apache uses or make apache use root. This is just for me to play with (IE it's not out on the internet.) At my real host scripts run as the user who's account it's in.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2006-10-01 10:27

You need to chmod the files in order to make Gallery 2 able to write to them. As long as this is local, all you have to do is issue the following command:

chmod -R 777 /srv/www/gallery2

That should set the permissions in such a way that Gallery can write to them.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2006-10-02 14:46

Thanks that worked.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2006-10-02 21:49

As it should. ;-)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org