close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Permissions of folders created by Image Resizer

Thread began 7/27/2011 12:37 pm by nibo | Last modified 7/27/2011 5:33 pm by nibo | 1282 views | 4 replies |

nibo

Permissions of folders created by Image Resizer

I have discoverd that any folder created by Image Resizer is assigned the "apache" user which means that I am unable to edit the folder permissions or delete the files.

I was wondering if anyone else has come across this and worked out how to fix it?

Is there a setting inside Image Resizer where you can specify what User is assigned to the folders it creates?

Image Resizer 1.0.0
Plesk Panel
Dreamweaver CS5
Win 7 (64bit)

Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure how you could change that. You could look at the include file and change the default permissions by finding and replacing 0777 with the permissions level you would like set, but I can't find a referenced of how to change the user when using the mkdir() function in php to create a directory.
function.mkdir.php

Sign in to reply to this post

nibo

Thanks for replying Ray.

I can only presume that other people are not having this problem, or that they've managed to solve it without posting a message to the forum.

I have also asked the people supplying my server about how to ensure that any new folders created by PHP code are given the appropriate ownership. I am waiting for them to get back to me. It's not so much to do with the permissions, 777, etc., but more to do with who "owns" the folders and files.

The problem is that I've getting "Warning: mkdir() [function.mkdir]: Permission denied..." and "Warning: imagejpeg() [function.imagejpeg]: Unable to open ..." errors on the live server. It works fine on my localhost.

Through some searching I've found a module called "suPHP" which may help with getting the folder ownership correct, however as there have not been any other mentions of this problem I'm wondering if there is another, simpler, solution.

Sign in to reply to this post

Ray BorduinWebAssist

It could possibly be the permissions of the parent folder need to be set to 0777... it is also possible that you need to set the permissions to 0755. Some hosts actually restrict permissions on folders with full permissions as odd as that sounds, and you need to set the permissions to 0755 to get full permissions.

Sign in to reply to this post

nibo

I hadn't check when I wrote the last message, however it would seem that the server company have manually changed the owner of the folders that Image Resizer has created, which means that, for the moment at least, it's working.

If I have any other update I'll post back.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...