zxCoder
V2EX  ›  问与答

使用 jetbrain 的 ide 开发的程序,如果需要 root 用户来执行这个程序,最佳做法是怎么做呢?

  •  
  •   zxCoder · Apr 9, 2021 · 980 views
    This topic created in 1889 days ago, the information mentioned may be changed or developed.
    3 replies    2021-04-09 14:54:14 +08:00
    AlkTTT
        1
    AlkTTT  
       Apr 9, 2021
    用管理员身份运行 ide 咯
    Hurriance
        2
    Hurriance  
       Apr 9, 2021
    sudo /Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea
    Hurriance
        3
    Hurriance  
       Apr 9, 2021
    不过还是不建议用这个,之前因为项目会在 root 下写 log,加上开发用的 80,所以暂时用了一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3697 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:29 · PVG 12:29 · LAX 21:29 · JFK 00:29
    ♥ Do have faith in what you're doing.