Solved

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

Posted on 2010-09-03
13
816 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

920 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