Error on creating var dir

chimnaniashish

Joined: 2013-02-08
Posts: 1
Posted: Fri, 2013-02-08 13:58

I'm having trouble to install gallery3 on my site.
I get following message.

Photo Storage
We're having trouble creating a place for your photos. Can you help? We need you to create a directory called var in your gallery3 directory. This sample code works for most users. Run it in the gallery3 directory:
mkdir var
chmod 777 var
Check again

Does anybody have a clue?
Thanks in advance

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2013-02-08 14:21

gallery is asking you to create a directory called var inside your gallery3 directory
the webserver must have read/write permissions

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
ok2pen

Joined: 2013-02-12
Posts: 4
Posted: Tue, 2013-02-12 12:01

I have same problem with creating dir ..var (I gave write permitions to web server but
installation of gallery3 not continuing). Please explain in more details how and where
exactly to put correct rights to the web server (my server is in /var/www/html/*).
Thank you

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-02-12 12:34
 
ok2pen

Joined: 2013-02-12
Posts: 4
Posted: Tue, 2013-02-12 14:00

Thank you, I found the proble. The problem is in Selinux permissions and I do not know
how to open permission for writing for this Gallery3, When
I switch off the selinux (setenforce 0) the gallery3 works OK.
Maybe you know the command.