chmod 744/755 for http

Discussion in 'Server Operation' started by soroccoheaven, Sep 25, 2007.

  1. soroccoheaven

    soroccoheaven New Member

    hello,
    I wanted to know about the file permission for http files ie. /var/www/html/*.html,shtml etc.. as in case of .htaccess we need to provide 755 to that perticular file and same in case of .cgi...rest 755 ..but still all the files in in http root directory having 744 permission...is it fine to give "others" to exec permission for .html file to run on requested browser any security issue ?..

    thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Normally 644 is fine for files, but 755 doesn't do any harm.
     

Share This Page