I have a nodejs server that runs on Ubuntu. I need to modify a root-owned file.
I don't want to give the service root access.
Is there any way to give the node user root access for a specific file?
Thanks
A simple
chmod o+rwx yourfile
will grant read/write/execute permissions to all other users
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.