permission issue while running gallery 2.3 upgrader

kishorkarmur

Joined: 2012-10-10
Posts: 4
Posted: Wed, 2012-10-10 04:26

Hello,

I am getting following error while running gallery 2. 3 upgrader.
I have set the required permissions (777) to "gallery2" directory.

Error:
Inaccessible or missing files (1)
Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /mysite/website/gallery2/ OR run chmod -R 777 /mysite/website/gallery2/.

Note:/mysite/website/gallery2/ is the path to access gallery2 in my local server

Please help me to sort out the issue.

Thank you.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-10-10 11:16

so your storage directory is the same as your codebase directory?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kishorkarmur

Joined: 2012-10-10
Posts: 4
Posted: Wed, 2012-10-10 12:59

Hi,

Yes, My storage directory is same as my codebase directory. But I don't have any issue to change it , if required.
Can you please help me to sort out the issue.

Thank you

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-10-10 13:12

The upgrader does not lie, if it complains that a file in the storage directory is "Inaccessible or missing" it is true.
run chmod -R 777 /mysite/website/gallery2/ the -R is for recursive, as in all files and folders must be read/write for everybody

AND that is where the issue would appear. You don't want your entire codebase read/write for everybody - best to keep storage/codebase separate.

FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kishorkarmur

Joined: 2012-10-10
Posts: 4
Posted: Wed, 2012-10-10 13:26

Okay,

Let me try that way.

Thanks