setupãã¥ã¼ããªã¢ã«ã§ãã¼ããã·ã§ã³ã«ã¯ã¾ã£ãã
解決ããã«ã¯ãpublic_html(ãããã¯å¿ è¦ãªãã£ã¬ã¯ããª)以ä¸ã§
% sudo gpasswd -a user www-data % sudo find ./* -type d -exec chmod 2775 {} \; % sudo find ./* -type f -exec chmod 664 {} \; % sudo chown -R user:www-data ./*
ã¨ãã¦ãããããã¯ãããã
ã»www-dataã°ã«ã¼ãã¸userã¦ã¼ã¶ã追å
ã»ãã£ã¬ã¯ããªã®ã¿ã«ã°ã«ã¼ãã§ã®ç·¨é権éã追å &ã°ã«ã¼ããããã追å
ã»ãã¡ã¤ã«ã®ã¿ã«ã°ã«ã¼ãã§ã®ç·¨é権éã追å
ã»ãã¹ã¦ã®ãã£ã¬ã¯ã㪠+ ãã¡ã¤ã«ã®ã¦ã¼ã¶/ã°ã«ã¼ããå¤æ´
ã¿ãããªæãã®ãã¨ããã¦ããã¢ãã¦ãã ãã©ãwww-dataã¯Apacheã®ã°ã«ã¼ããuserã¯èªåã¨ãã¦ãé©å®ç½®ãæãã
ããã§ã¯ã¾ããªããªãã
ã©ã£ãã«è¿½è¨ï¼ã¨ãæã£ã¦ãã©ãããã°ããã®ãããããªãã£ãããã¨ããããããã°ã«æ¸ãã¨ãã¨ãid:riafãããã追å ãã¦ãããï¼