Skip to content

Document -umask option. - #460

Closed
DanielO wants to merge 1 commit into
syncthing:masterfrom
DanielO:umask
Closed

DanielO wants to merge 1 commit into
syncthing:masterfrom
DanielO:umask

Conversation

@DanielO

@DanielO DanielO commented Jul 16, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@AudriusButkevicius

Copy link
Copy Markdown
Member

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

@DanielO

DanielO commented Jul 16, 2019

Copy link
Copy Markdown
Contributor Author

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

AudriusButkevicius commented Jul 16, 2019 •

Copy link
Copy Markdown
Member

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

@DanielO

DanielO commented Jul 16, 2019

Copy link
Copy Markdown
Contributor Author

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