Joomla 1.5 Media Manager sets incorrect file permissions when uploading

Posted by Scott Mayfield on Stack Overflow See other posts from Stack Overflow or by Scott Mayfield
Published on 2010-05-04T14:46:05Z Indexed on 2010/05/04 14:48 UTC
Read the original article Hit count: 375

Filed under:
|
|

Howdy all, I have a Joomla 1.5 installation running on Windows Server 2008, installed via the Web Platform Installer.

When uploading images with the media manager (native uploader, not the flash bulk uploader), the files arrive on the server correctly, but are given incorrect permissions. Specifically, the IIS_IUSRS group is not given access to the file. I might be incorrect about what group/user is SUPPOSED to get access to the files, but so far, I've found that unless I give IIS_IUSRS access to the uploaded files, they won't appear on the site or in the media manager (appear as broken images). Once I give IIS_IUSRS permission to the files, they work fine.

So far, all the research I've done has led me to linux specific fixes that involve either changing the umask on the server, or directly modifying the Joomla codebase to add an appropriate chmod command to the upload process, but I really don't want to modify Joomla directly. I have to believe there's a setting here somewhere that will do the job, either on the Joomla or Windows side of the equation.

Any thoughts?

Scott

© Stack Overflow or respective owner

Joomla 1.5 Media Manager sets incorrect file permissions when uploading

Posted by Scott Mayfield on Server Fault See other posts from Server Fault or by Scott Mayfield
Published on 2010-05-04T14:25:36Z Indexed on 2010/05/04 19:09 UTC
Read the original article Hit count: 375

Filed under:
|
|

Howdy all, I have a Joomla 1.5 installation running on Windows Server 2008, installed via the Web Platform Installer.

When uploading images with the media manager (native uploader, not the flash bulk uploader), the files arrive on the server correctly, but are given incorrect permissions. Specifically, the IIS_IUSRS group is not given access to the file. I might be incorrect about what group/user is SUPPOSED to get access to the files, but so far, I've found that unless I give IIS_IUSRS access to the uploaded files, they won't appear on the site or in the media manager (appear as broken images). Once I give IIS_IUSRS permission to the files, they work fine.

So far, all the research I've done has led me to linux specific fixes that involve either changing the umask on the server, or directly modifying the Joomla codebase to add an appropriate chmod command to the upload process, but I really don't want to modify Joomla directly. I have to believe there's a setting here somewhere that will do the job, either on the Joomla or Windows side of the equation.

Any thoughts?

Scott

© Server Fault or respective owner

Joomla 1.5 Media Manager sets incorrect file permissions when uploading

Posted by Scott Mayfield on Super User See other posts from Super User or by Scott Mayfield
Published on 2010-05-04T14:25:36Z Indexed on 2010/05/04 14:28 UTC
Read the original article Hit count: 377

Filed under:
|
|

Howdy all, I have a Joomla 1.5 installation running on Windows Server 2008, installed via the Web Platform Installer.

When uploading images with the media manager (native uploader, not the flash bulk uploader), the files arrive on the server correctly, but are given incorrect permissions. Specifically, the IIS_IUSRS group is not given access to the file. I might be incorrect about what group/user is SUPPOSED to get access to the files, but so far, I've found that unless I give IIS_IUSRS access to the uploaded files, they won't appear on the site or in the media manager (appear as broken images). Once I give IIS_IUSRS permission to the files, they work fine.

So far, all the research I've done has led me to linux specific fixes that involve either changing the umask on the server, or directly modifying the Joomla codebase to add an appropriate chmod command to the upload process, but I really don't want to modify Joomla directly. I have to believe there's a setting here somewhere that will do the job, either on the Joomla or Windows side of the equation.

Any thoughts?

Scott

© Super User or respective owner

Joomla 1.5 Media Manager sets incorrect file permissions when uploading

Posted by Scott Mayfield on Server Fault See other posts from Server Fault or by Scott Mayfield
Published on 2010-05-04T14:27:08Z Indexed on 2010/05/04 14:39 UTC
Read the original article Hit count: 375

Filed under:
|
|

Howdy all, I have a Joomla 1.5 installation running on Windows Server 2008, installed via the Web Platform Installer.

When uploading images with the media manager (native uploader, not the flash bulk uploader), the files arrive on the server correctly, but are given incorrect permissions. Specifically, the IIS_IUSRS group is not given access to the file. I might be incorrect about what group/user is SUPPOSED to get access to the files, but so far, I've found that unless I give IIS_IUSRS access to the uploaded files, they won't appear on the site or in the media manager (appear as broken images). Once I give IIS_IUSRS permission to the files, they work fine.

So far, all the research I've done has led me to linux specific fixes that involve either changing the umask on the server, or directly modifying the Joomla codebase to add an appropriate chmod command to the upload process, but I really don't want to modify Joomla directly. I have to believe there's a setting here somewhere that will do the job, either on the Joomla or Windows side of the equation.

Any thoughts?

Scott

© Server Fault or respective owner

Related posts about joomla

Related posts about cms