Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post 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!!
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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 .
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Uploaded Images Have 600 Instead Of 644 
 
What server do you use?
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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   .
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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   .


puff

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

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




____________
jack of all trades, master of none
http://www.mieloma.com/ - http://www.casimedicos.com/ - http://www.egalego.com/ - http://www.casimedicos.com.es/ - http://www.medicosmir.com/
 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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!! .
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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)
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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...
 



 
ReneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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);

 



 
ReneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Uploaded Images Have 600 Instead Of 644 
 
great work Rene...

Thanks !


p.s.:topic sticky!
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron