Solved

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

Posted on 2010-09-03
13
817 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now