/[drupal]/contributions/tricks/chmod.php
ViewVC logotype

Contents of /contributions/tricks/chmod.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Nov 4 15:18:16 2005 UTC (4 years ago) by weitzman
Branch: MAIN
File MIME type: text/x-php
handy script for gaining access to directories that drupal created with excessively little permissions. for example, admin can't even access the 'images' and 'pictures' directories when drupal creates them. see bug #10658
1 <?php
2
3 // specify whatever dir you need to access
4 $dir = 'files/pictures';
5
6 chmod($dir, 0775);
7 die("changed $dir to 0775");
8
9 ?>

  ViewVC Help
Powered by ViewVC 1.1.2