V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wdssmq
V2EX  ›  问与答

Grunt + Docker 复制文件时的权限问题;

  •  
  •   wdssmq · 2022-04-20 13:35:27 +08:00 · 573 次点击
    这是一个创建于 737 天前的主题,其中的信息可能已经有所发展或是发生改变。

    虽然这个组合确实有点奇怪;

    Z-Blog 主题,项目文件挂载进 Docker 里访问,使用 Grunt 构建 CSS + JS ;

    文件用户会被修改为 www-data ,导致 Grunt 的 copy 操作没有权限;

    Warning: EPERM: operation not permitted, futime Use --force to continue.

    虽然手动删除一次可以临时解决。。

    acgMora/compile/Gruntfile.js · 沉冰浮水 /ZBP_THEME - 码云 - 开源中国 https://gitee.com/wdssmq/ZBP_THEME/blob/master/acgMora/compile/Gruntfile.js

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2837 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:13 · PVG 23:13 · LAX 08:13 · JFK 11:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.