File permissions issue on Windows Server
-
When an image is uploaded I get several image files depending upon the size of the original. One of these files has the same name as the original uploaded file but is reduced in size. Other files have names reflecting the size such as 150×150.
My issue is that the file with the original name has unique Windows Server File permissions so that it can’t be displayed. I can access the image file with administrative rights and then force it to reset its access rights list in which case it gets the permissions inherited from the parent folder. After that the file can be accessed by users via a browser.
Has anyone seen this behavior? This requires files to have their permissions reset manually.
-
The multiple sized images are generated by WordPress by its standard add_image_size() function (see https://codex.ww.wp.xz.cn/Function_Reference/add_image_size), this isn’t from the this plugin.
This plugin will only resize the originally uploaded image (if required). This is done with a process of destroying the original image, and creating a new, smaller image from it.
Are you saying that the resized image gains more restricted file permissions, or is it not retaining the permissions specific of the file you uploaded? Please let me know which and I’ll look into it.
Thanks
PhilI posted this message when I first started looking at the problem and later discovered that it wasn’t related to the plugin. It was the Windows file permission on the c:\windows\temp folder that was causing the problem we were having.
I should have updated the post but then the weekend came. Still, I’m very sorry to have taken your time. I appreciate the support community and have found the plugin authors to be amazingly helpful.
No problem. Thanks for coming back to me so I can close off the issue.
Kind regards
Phil
The topic ‘File permissions issue on Windows Server’ is closed to new replies.