Replies: 3 comments 1 reply
-
Normally, each user has its own log directory. When your app writes the same file for different users you should control file permissions by yourself. The easiest way it to set log file permissions to 0666 on app start. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is the right code?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
ok, thanks. I process the permission with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
user 'a' generate the log/main.log
user 'b' want to write the log/main.log
I meet the permission.
How can I fix it on the code not the command chmod on terminal.
I want the user 'b' can directly use the log/main.log without dothing.
https://github.com/megahertz/electron-log#options-1
Beta Was this translation helpful? Give feedback.
All reactions