Project:Audit Files
Version:6.x-3.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Audit File is a great module for the file permission problem I had. However, not supporting D6.x had me searched for other work out.

Here is an alternative solution to regain file ownership and permission which I found on the net and believe useful to share here:

------------
Execute the following code within any content type with php filter on (ie. copy and paste this into a Drupal page, set input format to "PHP", and save the page). Be sure to delete the page as soon as you are done!

<?php
`chmod -R a+w directory/subdirectory`;
?>

A common place this snippet applies to is the files/images directory.
-------------

In my experience, the directory should begin with the root of your drupal install. e.g. you have installed drupal in the path /public_html/drupal and your orphaned file located at /public_html/drupal/sites/all/files/images, then you should put in:

<?php
`chmod -R a+w sites/all/files/images`;
?>

Remeber to put on the php filter. Hope it helps.

Comments

#1

Status:active» closed (fixed)

Take a look at all releases
http://drupal.org/node/137440/release

there is a 6.x version that I just tried and its working as expected

nobody click here