Solved

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

Posted on 2010-09-03
13
822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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
 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

617 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