RE: [PHP] Permission problem

From: Date: Tue, 25 Apr 2006 16:41:01 +0000
Subject: RE: [PHP] Permission problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234709@lists.php.net to get a copy of this message
On Tue, 2006-04-25 at 12:30, Jay Blanchard wrote: > [snip] > A while back I was persuaded by this illustrious group into thinking > that placing images in a file system was superior to placing them in > mySQL -- after all, what could go wrong with a file system solution, > right? > > So I did. > > Now, I have a small problem. Unfortunately, most of the images I've > uploaded have permissions set at chmod 600 (rx- --- ---). Interesting > enough, considering that all the images were all uploaded with the > same script, not all of the images have the same permission problem > -- that's odd. > > In any event, I can't back-up, download, copy, change permissions, or > do anything with the chmod 600 group. Any suggestions as to what I > can do with these files? > [/snip] > > After uploading have PHP CHMOD them properly And for your existing files create a script to load in your browser that traverses the files and CHMOD's them. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#234709) next »