Author Topic: Files permissions on Apache servers  (Read 4638 times)

0 Members and 1 Guest are viewing this topic.

Offline baconzoo

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.baconzoo.com/library
Files permissions on Apache servers
« on: October 05, 2005, 09:19:37 PM »
If the PHP is used to upload a file it's owner becomes "apache" and it's permission are set how?

On my server the files are RW RW RW and they cannot be changed because I'm not apache I'm "baconzoo" that's my servers username and log in.

Where in the config or php files is that specified? What permission to set uploaded files?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Files permissions on Apache servers
« Reply #1 on: October 06, 2005, 07:44:36 AM »
sorry, but this is not Installation & Configuration problem of 4images.. moving..

look Apache DOCS/FAQS at www.apache.org
cheers
Nicky
Your first three "must do" before you ask a question ! ( by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Files permissions on Apache servers
« Reply #2 on: October 07, 2005, 01:33:19 AM »
includes/constants.php
Code: [Select]
define('CHMOD_FILES', 0666);
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

 

Post your comments here