|
Page 1 of 2
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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!!
|
#1 Mon 12 Nov, 2007 23:46 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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  .
|
#2 Fri 16 Nov, 2007 07:27 |
|
novice programmer 
Joined: June 2007
Posts: 1030
Location:
|
 Re: Uploaded Images Have 600 Instead Of 644
What server do you use?
|
#3 Fri 16 Nov, 2007 15:13 |
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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.
|
#4 Sat 17 Nov, 2007 13:52 |
|
casimedicos 
Joined: August 2006
Posts: 241
Location:  Galicia (Spain)
|
 Error 600 Images
|
#5 Sun 18 Nov, 2007 16:03 |
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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  .
|
#6 Mon 19 Nov, 2007 17:44 |
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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!!  .
|
#8 Fri 23 Nov, 2007 23:17 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: 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!!
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
|
#9 Wed 28 Nov, 2007 10:36 |
|
tiolalu 
Joined: November 2006
Posts: 311
Location:  Madrid
|
 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)
|
#10 Fri 30 Nov, 2007 01:34 |
|
Rene 
Joined: November 2007
Posts: 124
|
 Re: 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!!
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...
|
#11 Mon 07 Jan, 2008 14:59 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 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
|
#12 Mon 07 Jan, 2008 15:34 |
|
Rene 
Joined: November 2007
Posts: 124
|
 Re: Uploaded Images Have 600 Instead Of 644
I found a solution which works for me.
OPEN upload.php (in forum root directory)
FIND
$file_size = $_FILES['userfile']['size'];
AFTER ADD
chmod($filename_tmp,0644);
|
#13 Wed 09 Jan, 2008 11:35 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 Re: Uploaded Images Have 600 Instead Of 644
great work Rene...
Thanks !
p.s.:topic sticky!
|
#14 Thu 10 Jan, 2008 19:10 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 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
$dir = 'files/album/otf/';
change it to whatever you need to change permissions to 0755, and then launch it from your root
|
#15 Fri 11 Jan, 2008 07:39 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|