sdjl
V2EX  ›  问与答

如何永久修改www-data用户的umask?

  •  
  •   sdjl · Jan 5, 2014 · 3533 views
  •   You need to sign in to view this topic
    This topic created in 4535 days ago, the information mentioned may be changed or developed.
    我的程序是用www-data用户运行的,通过nginx访问,没有安装apache2。系统为debian

    程序创建的默认文件权限是 -rw-r-----

    我希望是 -rw-rw-r-- (002)

    搜索了半天不知道如何修改www-data用户的umask

    求助
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2747 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:34 · PVG 19:34 · LAX 04:34 · JFK 07:34
    ♥ Do have faith in what you're doing.