Strahan Posted August 2, 2014 Share Posted August 2, 2014 Hi. I'm trying to make my folder management tool able to remove stuff. Problem is, I get permission denied. I've checked the NFTS perms for the share and for the folder. It's also not read only. I logged into my other workstation as the service account the web server is using and opened a DOS window and did "rd \\server\share\folder" and it removed it no problem. It just fails in PHP. Any idea what I should be looking at? Thanks! Link to comment https://forums.phpfreaks.com/topic/290242-permission-denied-on-unlink/ Share on other sites More sharing options...
requinix Posted August 3, 2014 Share Posted August 3, 2014 Which web server? IIS runs as an IUSR something account (varies), Apache is probably running as LOCAL SERVICE (if configured as a service) or your user account (if not and thus you have to run it yourself every time you need it). Whichever account it is needs delete permissions on the parent folder. Are you sure it has that? Link to comment https://forums.phpfreaks.com/topic/290242-permission-denied-on-unlink/#findComment-1486728 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.