Skip to content

Conversation

@DanielO
Copy link
Contributor

@DanielO DanielO commented Jul 16, 2019

No description provided.

@AudriusButkevicius
Copy link
Member

Is there a thing like that? Why can't you set the umask in the shell before starting?

@DanielO
Copy link
Contributor Author

DanielO commented Jul 16, 2019

I did try that but the FreeBSD rc.d script already has 2 lots of escaping to change UID then wrap syncthing with daemon (to write a PID file and redirect logging) that it was simpler to modify the syncthing code..

Arguably daemon could grow a umask option but that's a lot slower to change :)

@AudriusButkevicius
Copy link
Member

AudriusButkevicius commented Jul 16, 2019

I think we should discuss it on the actual pr. My bad on discovering this first.

@DanielO
Copy link
Contributor Author

DanielO commented Jul 16, 2019

OK, sure.

@calmh calmh closed this Jul 16, 2019
@syncthing syncthing locked and limited conversation to collaborators Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants