Solved

weird (Wordpress) folder permission problem in Windows Server 2008!?

Posted on 2010-09-03
13
815 Views
Last Modified: 2012-06-27
Hi,

I've got a weird permission problem with some of my Wordpress folders in Windows Server 2008, more precisely some of the plug-in folders.

When I try to access or modify them I get an 'access denied' message, even though I'm the admin!? Also I can't take ownership of them ...

Anyone got an idea as to why this is and how I could change it??

Thanks a lot,

Jerome
0
Comment
Question by:Xeronimo
  • 8
  • 5
13 Comments
 
LVL 20

Expert Comment

by:woolnoir
ID: 33594618
You need to tell us a bit more information - how are you trying to access and modify them, from the server UI or in some other way ? what modifications are you trying to do ? and what are the NTFS permissions on the folders you are trying to modify.
0
 

Author Comment

by:Xeronimo
ID: 33594638
Hi,

From the server UI. I wanted to simply access the folders and/or to modify them. As the Domain Admin I should have all the necessary permissions, no? Yet I get 'access denied'.
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 33594700
Check the permissions on the folder, right click, properties, security. Check what permissions are assigned to the folder - its possible someone has remove the admin user.
0
 

Author Comment

by:Xeronimo
ID: 33594783
It's very weird ... now I can get into them (although I've nothing changed) ... might have been because of Wordpress when it tried to upgrade the plugins??
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 33594791
Well if you tried to modify a plugin file while the upgrade was taking place, that would have caused it. Remember when its upgrading it locks a file... and that would of prevented you doing so.. but it wouldn't have prevented access to a whole folder.
0
 

Author Comment

by:Xeronimo
ID: 33595389
The problem was that the update of the plug-in, from inside WP, failed because WP couldn't remove the old plug-in (why not?? It was able to install it ...). Yet the folder remained locked.

Now, for some reason, it's accessible again (although half empty). I restored the plug-in folder from the backup.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 20

Accepted Solution

by:
woolnoir earned 500 total points
ID: 33595527
Well it depends on the folder permissions , its possible to allow permissions which enable write access, but doesnt enable deletion of files/folders. The only way of telling for sure is to check the NTFS permissions on the folders....
0
 

Author Comment

by:Xeronimo
ID: 33595581
Ok, I've tried to update the plug-in again. I got this error message:
----
Downloading update from http://downloads.wordpress.org/plugin/google-analytics-for-wordpress.4.0.9.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin upgrade failed.

An error occured while updating Google Analytics for WordPress: Could not create directory. C:/Websites/mysite/wp-content/plugins/google-analytics-for-wordpress/.

Disabling Maintenance mode…

All updates have been completed.
------
What user is WP using to perform this update?
0
 

Author Comment

by:Xeronimo
ID: 33595594
Also the google analytics plug-in folder isn't accessible anymore right now ... and I can't see the security settings because I can't set neither the domain admin nor the local admin as the owner!?
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 33602828
Can you just show is the permissions of each folder above it, start with c:\websites, then c:\websites\mysite then c:\website\wp-content. Throw up a screenshot of each and we can determine where the permissions are coming from.

0
 

Author Comment

by:Xeronimo
ID: 33660438
Me again ... still the same problem! Certain folders inside a certain plug-in folder in Wordpress simply can't be deleted because I don't have the permissions! Even though I am the Administrator!? I can't even take the ownership of those folders because my access get denied ...

Any other ideas? How can I force Windows 2008 to delete these files??

Thanks,

Jerome
screenshot.png
0
 

Author Comment

by:Xeronimo
ID: 33660893
Update: after a while (and some fiddling like a restart of the web-server) the folders were suddenly accessible ... it's not clear though what exactly it was that did it. Or whether it was a time-out or something.

So now I was able to restore that plug-in folder. Yet I bet if I'd try again to upgrade the plug-in then I would have the same 'access denied' problem for a while!? :(
0
 

Author Closing Comment

by:Xeronimo
ID: 33981139
The problem was not really solved.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now