Does Exporting PNG via Photo Paint X5 Alter Permissions-Security?

Hi I have an issue with Editing and Saving PNG files for use with HTML.

I have PNG files made with PhotoPaint X3 that are linked to in IMG tags or as a background-images in CSS Style sheets. When I open and edit them with X5 the permissions or security changes on the files.  If I drop the saved file into a browser the PNG displays fine but opening the HTML or PNG file directly via //localhost naming doesn't work. So I think the IIS Network User doesn't have rights to display the image.

This happens on Windows XP SP3 and on Windows 7 Pro x64. Have I installed it wrong? Is there a setting somewhere or is there a new security model implemented with Corel X5.  This happens when creating new content and when saving over existing PNGs.

Any Solutions? Anyone else with the same issue?

EDIT (8 Jul 2010) - In posts below I have tested a few things and in summary, Corel PHOTOPAINT X5 does not preserve existing permissions on files.  On saving over or creating new PNG files for example permissions for Everyone and Users are not written to file. Saving over image files in IIS Inetpub folders changes their permissions making them inaccessible via iis requests.  This is on Windows 7 x64 Pro, (A toshiba laptop with OEM configured install) and a home made Windows XP SP3, my own OEM install.  I don't know if this was the intended file management behaviour but it has slowed me down. And it is different to Corel 10 and Corel X3 which I was using in the past.

EDIT (22 July 2014) - This post relates mostly to Windows Internet Information Server (IIS) folders under C:\inetpub\wwwroot but other windows folders with awkward permissions may suffer the same problems. In windows with IIS installed the INETPUB folders are where you can place HTML files and Image files like PNG, JPG, GIF etc. For IIS to correctly serve these files in a browser - over an HTTP connection - the IUSR and IIS_USER windows users - or some ungodly combination of windows IIS accounts - need to be added to those images and files. Copying already finished images into INETPUB folders via a windows copy-paste operation adds the right IIS users to the files. Editing those images with X5 from the INETPUB folders doesn't preserve the IIS users on Save.

Bottomline - Rob's workaround does the trick!

 

Parents
  • Permissions are not controlled by the program creating the file.  Not Photo Paint or any other program.  The fact that you noted a different behaviour when using Corel 10 and X3 in the past leads me to believe the ACL's on those computers were configured with different permissions, or the files were located on the same volume.

    Permissions are controlled by the ACL of the location of the file.  By location I mean computer\directory\. Permissions can change when a file is copied or moved depending on the new location (i.e. same volume or different volume).  Permissions can be inherited from the new location, or maintained with the file to the new location.

    It is also affected by the type of file system used by the computer, FAT or NTFS.

    Security of files on NTFS file systems can be difficult to understand in XP and Win7 particularly when one does not know the rules.  Those would be the Microsoft OS rules.

     

    After reading my post I think it can be interpreted as aggressive or condecending.  That is not what I'm trying to convey.  Permissions are difficult to understand even to IT professionals. 

    Tom

    MCSA, MCDST, MCP

Reply Children