- How to set files permissions with .htaccess
- Posted by ponsfrilus@gmail.com on March 22nd, 2006
Hi all,
When I upload a file on my server with a cms, by default the
permissions on this file is set to "440", which mean that the file
cannot be readable in a browser.
Do someone know a way to automatically set (chmod) the files's
permissions to "644" with a .htaccess file?
tx
- Posted by trevor on March 23rd, 2006
ponsfrilus@gmail.com wrote:
hiya.
what a crap CMS. is there a config option in there somewhere for that?
can't be done.
- Posted by Paul Ding on March 23rd, 2006
On 22 Mar 2006 14:45:53 -0800, ponsfrilus@gmail.com posted something
that included:
Can't be done. The .htaccess file is simply a configuration file for
Apache (or other NCSA httpd).
It's possible that you need to hunt through the source code, and have
it explicitly set the permissions to 644 when the file is saved, but
my guess it that you've got something screwed up in the configuration
file for the CMS.
What CMS are you using? Have you asked anyone using that CMS if their
system does the same thing?
--
AmishHosting.com
- Posted by ponsfrilus@gmail.com on March 23rd, 2006
Re...
Actually it's not the CMS but my host who craps.
++
- Posted by William Tasso on March 23rd, 2006
Fleeing from the madness of the http://groups.google.com jungle
<ponsfrilus@gmail.com> stumbled into news:alt.www.webmaster
and said:
happens from time to time - can't imagine anyone sets up in business to
deliberately mess up - have you discussed this with your host?
--
William Tasso
whither a trophy?


