IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 2nd, 2005, 07:57 PM
1andyw 1andyw is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Erie, Pa
Posts: 22 1andyw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 10 m 22 sec
Reputation Power: 0
iis permissions

Hi,
My cms script reads usernames from a file above the www. The script works fine on a unix server. The same script run on an IIS server, with the paths modified, returns 'permission denied'.

The ISP insists the permissions were set to full permission when the front page extensions were turned off.

However, when I rt click on a file, the dialog box says 'This Server Does Not Support Changing Permissions'.

I tried altering the filepath from relative to absolute, but same result.

Any ideas?

Thanks,

Andy

Reply With Quote
  #2  
Old April 4th, 2005, 11:21 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
If the file is outside the web, you must grant the IIS user account permission to the file, and you won't be able to get to the file by a url, you'll need to use the filesystem object or something.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old April 5th, 2005, 03:24 AM
1andyw 1andyw is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Erie, Pa
Posts: 22 1andyw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 10 m 22 sec
Reputation Power: 0
Doug,

Thanks for the response.
I ran out of ideas and emailed the ISP help desk.
I have a strange issue with front page extensions having been set for this account, then 'turned off'.
The permissions were set to 777. The functions is_writeable() and is_readable() both return true. The function fopen($file, 'r') lets me read a file. Any fopen($file,'(anything but 'r')') creates an error 'Permission Denied'.

I hope the ISP has seen this before. They have been holding my request for two days without an answer.

Funny thing, I have several other PHP scripts in this account that function as designed. The difference is that none of them use any file functions.

Andy

Reply With Quote
  #4  
Old April 6th, 2005, 11:56 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
The first problem is there are no 777 permissions on a windows/IIS server. Permissions in NTFS are set via ACL's that can be different per user and per group.

IIS runs under a built-in user account for anonymous web users or impersonates the logged-in user if your site forces authentication. Any or all these user accounts must be granted permissions to any files you want to use in your web code.

Reply With Quote
  #5  
Old April 7th, 2005, 06:53 AM
1andyw 1andyw is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Erie, Pa
Posts: 22 1andyw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 10 m 22 sec
Reputation Power: 0
Hi Doug,

Thanks for the info.

So far, one direct phone call and three emails to the ISP and it continues to be a work in process. They admit the problem is on their end and are working to resolve the issue.

Andy

ps: That igrep toolbar is a workhorse. Have you looked at it yet?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > iis permissions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT