Timeline for Linux File permissions for other user as root to read and execute
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 7, 2018 at 17:30 | answer | added | RalfFriedl | timeline score: 0 | |
| Aug 7, 2018 at 13:02 | comment | added | Rinzwind | @Yaron it supports a "runasuser" option but this "function getForeverRoot(user){" github.com/zapty/forever-service/commit/… seems to look like getuid needs to be 0. I would assume that test needs to be done when user=null only :P Seems a bug to me | |
| Aug 7, 2018 at 11:55 | answer | added | ctrl-alt-delor | timeline score: 0 | |
| Aug 7, 2018 at 11:28 | comment | added | pLumo | cross-posting: askubuntu.com/questions/1063146/… | |
| Aug 7, 2018 at 10:50 | comment | added | Zain Abbas | @Yaron nopes i cant edit that script .. and also have a similar thought of creating cronJob which checks new entry of file and changes its permission ... but thats doesnt seems a right way.. | |
| Aug 7, 2018 at 10:42 | comment | added | Yaron |
Can you update the service runs by forever-service to execute chown opc -R /home/zain/uploads/hash and/or chmod 755 -R /home/zain/uploads/hash as its last steps?
|
|
| Aug 7, 2018 at 10:37 | comment | added | Zain Abbas |
@Yaron forever-service must be run as root it give me this error when i tried to run with opc
|
|
| Aug 7, 2018 at 10:33 | comment | added | Yaron |
How do you execute the forever-service? you should change the service user-id to be opc... or update it, to change the output files to be owned by opc
|
|
| Aug 7, 2018 at 10:31 | history | edited | Yaron | CC BY-SA 4.0 |
reformat question
|
| Aug 7, 2018 at 10:30 | review | First posts | |||
| Aug 7, 2018 at 12:20 | |||||
| Aug 7, 2018 at 10:25 | history | asked | Zain Abbas | CC BY-SA 4.0 |