Spartain X Posted January 18, 2007 Share Posted January 18, 2007 Hi i have just set up a wamp server using webserev v1.3.0.0 (http://sourceforge.net/projects/webserv/) with apache-2.2.3 ActivePerl-5.8.8.819 adodb-4.93a mysql-5.0.27 openssl-0.9.8d php-5.2.0 phpMyAdmin-2.9.1 and others the problem is there are many script which require me to chmod a directory too 777 or 755 etc. for example File Upload Manager (http://www.mtnpeak.net/). i have searched documentation and i have not come across any way's where this can be done i have also tried applying windows security for folder such as applying full control (read-write-execute-delete-etc) to all user a but this still has not allowed the scripts to run, if anyone has any ideas or a solution it would be great :D Quote Link to comment Share on other sites More sharing options...
VaKo Posted January 18, 2007 Share Posted January 18, 2007 Windows doesn't have chmod, all it has is the file attributes you can find by right click -> properties. Just allow it to have read/write access. Quote Link to comment Share on other sites More sharing options...
Spartain X Posted January 18, 2007 Author Share Posted January 18, 2007 i have done this already by giving each file a full control attribute and un-checked read only and still the problem continues Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted January 18, 2007 Share Posted January 18, 2007 Actually with NTFS you've got much more control with permissions. I ran into this issue a few years ago doing php development on a windows box with apache. I don't remember the exact settings but the trick was to grant privledges to the IUSR_something account. By default in XP (which I'm assuming you're on) doesnt give you much in the way of permissions in the properties menu, however if you go to tools, folder options, view, and uncheck 'use simple file sharing' you should get more control. just open the properties menu of a folder and you should have a new tab labeled security. click add, advanced, find now, select the correct account, and you should have the ability to grant modify, read&execute, list folder contents, read, write, special permissions, and full control. if you click the advanced button in that window you'll get even more refined control over permissions, auditing, ownership, and effective permissions. i'm sure a quick search of the msdn or technet library will turn up a full explination of each setting. good luck bud. Quote Link to comment Share on other sites More sharing options...
jool Posted January 18, 2007 Share Posted January 18, 2007 Haven't looked at that distribution but if it does everything properly it runs the web server as a different user and if it does you will need to change the rights for that account and not the one you are logged in as. Also, giving each file full access will in most cases not be enough, you will need to give it to the folder. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.