Folder permission issue IIS 7.5 regarding "Update manager" failing

HappyJiyoung's picture

Hi

I run window server 2008 with IIS 7.5 without much knowledge on the system but running many websites.

I just entered the world of Drupal since last month.
I read so many posts and Q&A on the net but didn't find the right solution for me.

I install Drupal 7 very well. Site is running fine.
BUT when I go "update module" with update manager...
After downloading files and installing...updating...
I get errors like this-example.

ctools

Error installing / updating
File Transfer failed, reason: Cannot remove file /sites/1drupalcommerce/profiles/commerce_kickstart/modules/ctools\API.txt.

rules

Error installing / updating
File Transfer failed, reason: Cannot remove file /sites/1drupalcommerce/profiles/commerce_kickstart/modules/rules\DEVELOPER.txt.

views

Error installing / updating
File Transfer failed, reason: Cannot remove file /sites/1drupalcommerce/profiles/commerce_kickstart/modules/views\CHANGELOG.txt.

Next steps

Your modules have been downloaded and updated.
Run database updates

This link(my research link saving site) showes the captured image of my screen with other issues regarding permission.
Also I captured example of my site root directory permission situation.

http://mswebmatrix.com/4060

How do you set the right permission on which files and folders?
I try to install app for openenterprise and it is giving a lot of errors with permission issues. Some folders this app making I can't even open sometimes(not all the folders...).

My server sites are resided on
D:/sites/ ...then
Site A
Site B
Site C

Someone said put the permission on even WHOLE "sites" directory...
where more than dozens of my live sites are in it...

I would be grateful if you could capture how you set the permission on GUI...or detailed help...
Like IUSR -read write modify.../read / everything...etc...something like that.
Also if the permission should be set when I add IIS-IUSR...giving sub directory and files also inherited permission...etc...very detailed...
As I don't know what 777 or 604 or those numbers translates if I make the changes on the folder on window...

I should learn more on Window Server system...better I know...
And I will...

What does IIS_USR, IUSR and IIS_IUSRS, USER ...do or mean?

I sincerely thank you for any guide or help...or link...

ALSO I see drush...
What is the best way(efficient) to update anything on Drupal?
I feel that drush sounds really efficient(I have no idea now but will start to learn from tomorrow on the net with video tutorial or something if you recommend it)
Any advice would be highly appreciated for non-technical person to start this command or drush life.

All day I was trying to find the solution...but no luck yet...

Thank you!

P.S. I live in Beijing now and would like to take any one on one lesson on window server with drupal 7 from someone or company that offers anything like that. I speak Korean and English.
Also I go to Seoul Korea often.
So anyone or firm in Beijing/Seoul could train me one or two days on the subject would be great. Of course I would pay for the training.
My dream training would be like this if there is anyone who could teach me in Beijing or Seoul.
http://denver2012.drupal.org/content/deploying-drupal-scale-microsoft-pl...

AttachmentSize
1_update_manager_error_openenterprise.gif11.11 KB
enterprise_error_file.gif17.25 KB
1_IUSR.gif11.79 KB
2_USER.gif12.3 KB
3_IUSR.gif12.34 KB

Comments

alexpilotti's picture

Hi,

to start with, here's an explanation on how authentication works in IIS and what the IUSR user means.

As you pointed out, you need Modify permissions on the Drupal folder to achieve that. Security must als be taken into account. I personally prefer to leave Write permissions on the "files" folder and setting the Modify permissions on the full web site only during updates.

Consider also that you might want to have a dedicated user in App Pool assigned to your web site. In that case that's the user that needs permissions on the folders.

Drush is definitely one of the best ways to upgrade a Drupal web site. There's also a Windows Drush 5 Installer available. Consider that being Drush 5 there's still some work in progress.

Talking about the training, I'm the author of the DrupalCon workshop you are referring to.
You can find here the full slide deck.

I live in Europe, a bit far away, but I'd be glad to visit Beijing :-) Let me know if you find a way to cover the traveling costs or somebody else interested in the training!

Alessandro Pilotti
[MVP ASP.Net / IIS]

WOW! Thank you so much!!!

HappyJiyoung's picture

Hi Alessandro!
Thank you so much for fast reply with kind info and links!!! Great!
Also I am really interested in having you fly over here in Beijing! :)
Let's discuss the timing and cost!
happy_jiyoung_yun (at) yahoo.com

My dream comes true scenario! :)

Bei Jing (China)

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week