Wrong CHMOD Images upload

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
MichaelK

Wrong CHMOD Images upload

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Wrong CHMOD Images upload

Post by Dr.CSS »

Have you done the chmod on the folder itself? as per handbook.
MichaelK

Re: Wrong CHMOD Images upload

Post by MichaelK »

Yes, I chmod the dirs: Uploads/ and images/ then nothing more.

But only the thumbs get 660 as chmod  ???
heltinde

Re: Wrong CHMOD Images upload

Post by heltinde »

MichaelK

Re: Wrong CHMOD Images upload

Post by MichaelK »

Also don't works.  :'(


The thumbs only get a 640 chmod instead of 644, so the thumb don't show up.

???
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Wrong CHMOD Images upload

Post by Dr.CSS »

Thumbs don't show up where?
MichaelK

Re: Wrong CHMOD Images upload

Post 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.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Wrong CHMOD Images upload

Post by tsw »

check site admin -> global settings -> file creation mask
MichaelK

Re: Wrong CHMOD Images upload

Post by MichaelK »

There stands 022.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Wrong CHMOD Images upload

Post 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.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Wrong CHMOD Images upload

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
MichaelK

Re: Wrong CHMOD Images upload

Post 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!  ;D
Locked

Return to “CMSMS Core”