Uploaded Images Have 600 Instead Of 644


Goto page 1, 2  Next

Subject: Uploaded Images Have 600 Instead Of 644
I don't really know why, I think there is a failure than the configuration of the server. It had happend when I change to a new server. All images you upload have permisions 600 so anyone can see the image.
Where do you think is the failure?
There is any way to put in the uploas script to give to the file permisions 644?
There is any way to do it through cronjobs?

TIA!!

Subject: Re: Uploaded Images Have 600 Instead Of 644
I have already done the cronjob, so each 15 minutes the system done the permisions to all files in folder, but not yet solved the problem :( .

Subject: Re: Uploaded Images Have 600 Instead Of 644
What server do you use?

Profile PM  
Subject: Re: Uploaded Images Have 600 Instead Of 644
cPanel, but the same forum have been working in Plesk, another cPanel, HSphere, and another cPanel, but in the last one it don't work.

Subject: Error 600 Images
it
appears that this particular server has a bit tighter security

see this
http://www.interaktonline.com/Produ...ons+at+600.html

http://drupal.org/node/153526

http://gallery.menalto.com/node/27954

Subject: Re: Uploaded Images Have 600 Instead Of 644
casimedicos, thanks, I have repported it.

(I don't know when I could test it because my web is under DDOS attack since friday :cry: .

Subject: Re: Uploaded Images Have 600 Instead Of 644
tiolalu wrote: [View Post]
casimedicos, thanks, I have repported it.

(I don't know when I could test it because my web is under DDOS attack since friday :cry: .


puff

http://directory.google.com/Top/Com...ial_of_Service/

in spanish
http://www.rediris.es/rediris/boletin/57/enfoque2.html

Subject: Re: Uploaded Images Have 600 Instead Of 644
casimedicos, thanks! I'm still under atack :( .

I have changed the server and it works again... In the old server I have "fix" the problem with a cronjob.

Thanks anyway!! :) .

Subject: Re: Uploaded Images Have 600 Instead Of 644
tiolalu wrote: [View Post]
I don't really know why, I think there is a failure than the configuration of the server. It had happend when I change to a new server. All images you upload have permisions 600 so anyone can see the image.
Where do you think is the failure?
There is any way to put in the uploas script to give to the file permisions 644?
There is any way to do it through cronjobs?

TIA!!

What feature are you use to upload images?

You can change CHMOD via PHP if your server allows it.

Subject: Re: Uploaded Images Have 600 Instead Of 644
Mighty Gorgon, I use the little button that you can unable to upload images into the server.

Now is working fine (in the new server)

Subject: Re: Uploaded Images Have 600 Instead Of 644
Mighty Gorgon wrote: [View Post]
tiolalu wrote: [View Post]
I don't really know why, I think there is a failure than the configuration of the server. It had happend when I change to a new server. All images you upload have permisions 600 so anyone can see the image.
Where do you think is the failure?
There is any way to put in the uploas script to give to the file permisions 644?
There is any way to do it through cronjobs?

TIA!!

What feature are you use to upload images?

You can change CHMOD via PHP if your server allows it.


Hi, can you tell me how to change the chmod in the upload.php? I think I've the same problem.

I already take a look in the upload.php but there's no chmod...

Profile PM  
Subject: Re: Uploaded Images Have 600 Instead Of 644
yes...same problem for me too..

all files in posted_images have CHMOD 600


maybe luca have some solution

Subject: Re: Uploaded Images Have 600 Instead Of 644
I found a solution which works for me.

OPEN upload.php (in forum root directory)

FIND
Code: [Download] [Hide] [Select]
$file_size = $_FILES['userfile']['size'];

AFTER ADD
Code: [Download] [Hide] [Select]
chmod($filename_tmp,0644);

Profile PM  
Subject: Re: Uploaded Images Have 600 Instead Of 644
great work Rene...

Thanks !


p.s.:topic sticky!

Subject: Re: Uploaded Images Have 600 Instead Of 644
Hi,

Luca told me that you dont need to add this in the new RC3.

In this release this error is fixed.

If you did an update from an older RC to the newest and want to change the chmod automaticly, please take a look into the install/contrib folder, where you find a file which is called reset_permissions.php

open that file, and there you find a line
Code: [Download] [Hide] [Select]
$dir = 'files/album/otf/';

change it to whatever you need to change permissions to 0755, and then launch it from your root

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2398s (PHP: 67% SQL: 33%)
SQL queries: 11 - Debug Off - GZIP Enabled