Zen Cart Logo
Forums / Basic Configuration / Protect images directory

Protect images directory

Locked

Views: 5,642

Results 21 to 26 of 26
This thread is locked. New replies are disabled.
20 Sep 2007, 12:07 AM
#21
chacha_vintage avatar

chacha_vintage

New Zenner

Join Date:
Feb 2007
Location:
baltimore, md
Posts:
41
Plugin Contributions:
0

Protect images directory

Hi jund! Thanks for your response. My product images are all stored in https://www.chacha-vintage.com/images, with respective "medium" and "large" folders. There is a subfolder in there where I keep my category images.

However, I am now unable to access the folder at all since I've changed the permissions to 644. (Everything was working perfectly fine before.) And they don't show up on my site. I've set my site to "down for maintenance" until I can get this fixed because my site is useless without pictures!

I can recreate the images folder if I really have to, but it would be much easier if I can just reset the permissions!

Any thoughts??

Thanks so much!

20 Sep 2007, 2:16 AM
#22
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Protect images directory

chacha-vintage,

I am still not clear on your settings... do you have the images folder set for 644? If so, set it for 755. It will not hurt anything.

Do you have your images set for 644? If so, you usually can leave them set for 644.

SUMMARY - The proper way to set up you images folder and files is images folder = 755 and contents (image files) = 644.

I hope you do not think I talking down to you... the directions are really not clear about this in some places... plus, I do not know what kind of server you are using... if you are using a Windows server, things are a bit different. Also, what are you using to change the permissions (your FTP app, your web manager, your site's CP or what?).

Respectfully,
jund

20 Sep 2007, 2:28 AM
#23
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Protect images directory

chacha-vintage:

Hi jund! Thanks for your response. My product images are all stored in www.chacha-vintage.com/images, with respective "medium" and "large" folders. There is a subfolder in there where I keep my category images.

However, I am now unable to access the folder at all since I've changed the permissions to 644. (Everything was working perfectly fine before.) And they don't show up on my site. I've set my site to "down for maintenance" until I can get this fixed because my site is useless without pictures!

I can recreate the images folder if I really have to, but it would be much easier if I can just reset the permissions!

Any thoughts??

Thanks so much!

Just went to your hosting company - they are unix based. That answers one question - (smile).
jund

21 Sep 2007, 2:01 AM
#24
chacha_vintage avatar

chacha_vintage

New Zenner

Join Date:
Feb 2007
Location:
baltimore, md
Posts:
41
Plugin Contributions:
0

Re: Protect images directory

Jund, believe me, feel free to make things as clear as you need to! I need all the help I can get!

So, what I did was change the permissions on the images folder to 644. I did not do anything to the images themselves.

The way I changed the permissions was using Fetch. I am on a Mac. I went to "Get Info" for the folder and then set the permissions.

The problem is now I know I need to set the permissions on that folder back in order to get my images back! HOWEVER, when I go to access that folder (Get Info, open the folder, anything...), I get the error message from my previous post saying I can't access the folder or that it doesn't exist.

So that is my problem -> changing the permissions back.

I was hoping there was some kind of workaround, some admin back way in or something. I don't understand why if I supposedly have read/write access to that folder using 644, I can't access it.

I have contacted my hosting company to see whether they can just reset the permissions on that folder for me.

Anyway, thank you for taking the time to try to help me, and any thoughts you have are much appreciated!

22 Sep 2007, 12:02 AM
#25
chacha_vintage avatar

chacha_vintage

New Zenner

Join Date:
Feb 2007
Location:
baltimore, md
Posts:
41
Plugin Contributions:
0

Re: Protect images directory

My hosting company was able to reset my permissions for me... still have no idea what went wrong! But thanks for all the help!!

22 Sep 2007, 12:35 AM
#26
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Protect images directory

chacha-vintage:

My hosting company was able to reset my permissions for me... still have no idea what went wrong! But thanks for all the help!!

Great News! Now just be successful.
jund