Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Dir and fle permissions in the Shared & Semi-Dedicated forum
Bit of a rookie with PHP and trying to implement a php based CMS. The manual says that I "need to ensure that PHP can ...

  1. #1
    JPC Member
    Join Date
    Sep 2001
    Posts
    12

    Dir and file permissions

    Bit of a rookie with PHP and trying to implement a php based CMS. The manual says that I "need to ensure that PHP can write to the listed directories and files". Therefore my questions is, when using the CHMOD command, what combination of numbers do I use. Appears to work with 777 but I imagine this is leaving things just a bit too open.

    Thanks in advance.

    James
    Last edited by James_P; 05-16-2003 at 07:16 PM.

  2. #2
    JPC Addict
    Join Date
    May 2003
    Location
    Canada
    Posts
    141
    The most common chmod settings I see for scripts are 777, 755, and 666. If you want to know how it actually works there is a page at Linux Online which explains about chmod here.
    Memento Mori

  3. #3
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,399
    You need to chmod the directory to 777 if you want PHP to be able to write...
    Julian D. Muņoz - LANeros.com

  4. #4
    JPC Member
    Join Date
    Sep 2001
    Posts
    12
    Thanks for your help.

    James

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •