DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Need help with server 2008 r2 website file permissions  (Read 5,035 times)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Need help with server 2008 r2 website file permissions
« on: March 19, 2012, 01:47 AM »
I'm running a website on a windows server 2008 R2 box. I have wordpress installed on it, and if I upload an image, the uploaded image gets the required permissions (iusr and iis_iusrs both have permission to touch it.)
I am experimenting with a CMS that doesn't use a database (testing gpeasy right now) So far everything seems to work great with it, but when I upload images via the CMS' built in image uploader, iis_iusrs isn't added to the list of users that can touch the image. This causes the image to not be viewable. Is there a way that I can fix this so that any files that are added by the CMS will auto allow both iusr and iis_iusrs to touch them?
It's really annoying having to remote into the server just to fix the permissions every time I want to upload an image, and I don't really want to stay with wordpress, because it runs too slow on iis (at least on my server it does).
[Insert really cool signature here]

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: Need help with server 2008 r2 website file permissions
« Reply #1 on: March 19, 2012, 10:21 AM »
I've no experience with gpeasy but AFAIK the uploaded image will get the permissions of the owner of the process the cms is run under (well the upload process technically). So, for example, if gpeasy is run as through CGI then you need to look up what the user is that runs cgi apps under IIS. Maybe that will help?

Quote
gpEasy is very easy to install on many different servers. The requirements are PHP [...]
So how is php setup?

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Re: Need help with server 2008 r2 website file permissions
« Reply #2 on: March 19, 2012, 01:38 PM »
I ran web platform installer and told it to install php. I'm going to see if I can figure out what perms php has, and see if that fixes it.
[Insert really cool signature here]

Original address: https://www.donationcoder.com/forum/index.php?topic=30347.0