zxCoder
V2EX  ›  问与答

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

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