SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2004
    Location
    California
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Correct Permissions

    I was just wondering what are the correct permission values for all the files/folders in a typical rails project?

  2. #2
    Resident Java Hater
    Join Date
    Jul 2004
    Location
    Gerodieville Central, UK
    Posts
    446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    depends on your web server setup tbh. generally something like 600, 640, or 644. This mainly depends if everything is runs under the same user (i.e. FTP, webserver etc), then 600 is best. Otherwise 640 is probably your best bet if all the different users are under the same group.

    If you need write access to files (ideally you should avoid this where possible), then add 2 to those digits.


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
  •