GithubHelp home page GithubHelp logo

database.json的权限问题 about candy HOT 4 CLOSED

guo-yu avatar guo-yu commented on June 23, 2024
database.json的权限问题

from candy.

Comments (4)

deepure avatar deepure commented on June 23, 2024

style.css这个文件也比较奇怪,同目录下的duoshuo.css相同权限,载入没有问题,style.css的读取就会出问题,要设置777

error: Error: EACCES, open '/var/www/site/public/stylesheets/style.css' errno=3, code=EACCES, path=/var/www/site/public/stylesheets/style.css
[server-371 (err) 2013-09-12T15:15:30] Error: EACCES, open 'errors.log'

from candy.

guo-yu avatar guo-yu commented on June 23, 2024

我看看 fs.writeFile 的默认权限是啥

from candy.

deepure avatar deepure commented on June 23, 2024

嗯,刚试了下,因为pm2默认是从app.js中读取程序的配置信息,导致env=production没读到,在upstart脚本里传了参数以后没问题了。

from candy.

guo-yu avatar guo-yu commented on June 23, 2024

话说我最近也在尝试用pm2代替forever,正在写一个pm2panel,欢迎关注~ 国庆期间应该可以完成~

from candy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.