Page 1 of 1
Wrong CHMOD Images upload
Posted: Wed Oct 25, 2006 5:07 pm
by MichaelK
Hi there,
I have a problem with cms version 1.02 with the upload.
This is the rule in my config.php file
#Permissions for uploaded files. This only really needs changing if your
#host has a weird permissions scheme.
$config['default_upload_permission'] = '777';
I change the default permission to 777 because 660 don't work and also 777 don't work.
The images get the permission 660, But only the THUMBS... The large pictures
get permission 777.
What's wrong

??
Any fix please?
Thnx in advance,
Michael
Re: Wrong CHMOD Images upload
Posted: Wed Oct 25, 2006 5:36 pm
by Dr.CSS
Have you done the chmod on the folder itself? as per handbook.
Re: Wrong CHMOD Images upload
Posted: Wed Oct 25, 2006 8:40 pm
by MichaelK
Yes, I chmod the dirs: Uploads/ and images/ then nothing more.
But only the thumbs get 660 as chmod

Re: Wrong CHMOD Images upload
Posted: Thu Oct 26, 2006 12:44 am
by heltinde
Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 9:28 am
by MichaelK
Also don't works.
The thumbs only get a 640 chmod instead of 644, so the thumb don't show up.

Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 12:56 pm
by Dr.CSS
Thumbs don't show up where?
Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 3:19 pm
by MichaelK
In the website and ImageManager.
So they don't show up.
When I manuel Chmod the file to 644, then it works fine but not with the upload thing.
Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 3:33 pm
by tsw
check site admin -> global settings -> file creation mask
Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 9:08 pm
by MichaelK
There stands 022.
Re: Wrong CHMOD Images upload
Posted: Fri Oct 27, 2006 10:03 pm
by Dr.CSS
Try file creation mask with nothing in it's box, no 0's nothing.
Thumb nails don't show in Image Manager ever, it's a hidden file type or name, if you FTP to your site and look in uploads/images or the folder you put the originals in you should see the thumbs but to get thumbs from uploaded images you have to view the images in I M ie go to image manager and open any folders with images in them and that makes thumbs that you will only see if you FTP to them or use Album module , when you use Album it looks for thumbs and I think the newest Album will make thumbs for you also.
You can also see thumbs when inserting an image in a page, click add/edit image browse server takes you to uploads/images you should see any thumbs available in there, if you have another folder in there click it to see the images.
Re: Wrong CHMOD Images upload
Posted: Sat Oct 28, 2006 4:45 am
by Elijah Lofgren
MichaelK wrote:
There stands 022.
I had your same problem once and posted a solution here:
http://wiki.cmsmadesimple.org/index.php ... l_Settings
Note: You may have to change File Creation Mask (umask): from "022" to "002" to keep from getting 403 forbidden errors when trying to view generated thumbnails on your webhost.
Hope this helps,
Elijah
Re: Wrong CHMOD Images upload
Posted: Sat Oct 28, 2006 12:12 pm
by MichaelK
Elijah Lofgren wrote:
MichaelK wrote:
There stands 022.
I had your same problem once and posted a solution here:
http://wiki.cmsmadesimple.org/index.php ... l_Settings
Note: You may have to change File Creation Mask (umask): from "022" to "002" to keep from getting 403 forbidden errors when trying to view generated thumbnails on your webhost.
Hope this helps,
Elijah
Thnx man!!
This works! Now I see the thumbs correctly
Thanks!
