Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文件,所有者是我(userx)。我用程序 WebStorm.sh (sudo sh webstorm.sh) 打开了文件。当我保存文件时,文件的所有者更改为 root。
我不希望这个程序(webstorm)改变文件的所有者。有什么建议么?谢谢。
这不是 webstorm,而是您以 root (sudo) 身份运行的事实。停止这样做,所有者信息不会改变。