Default UNIX permissions on ~/.abra/servers are too open #580

Closed
opened 2025-06-26 22:09:03 +00:00 by 3wordchant · 1 comment
Owner

Thanks @voltrate for the report.

Default UNIX permissions on ~/.abra/servers are 644, which means other system users can read files there. Given that some recipes store secrets in .env files, this may not be ideal. Changing to 600 seems like it would improve security, for no reduction in usability that I can think of.

Thanks @voltrate for the report. Default UNIX permissions on `~/.abra/servers` are `644`, which means other system users can read files there. Given that some recipes store secrets in `.env` files, this may not be ideal. Changing to `600` seems like it would improve security, for no reduction in usability that I can think of.
3wordchant added the
bug
label 2025-06-26 22:09:03 +00:00
decentral1se self-assigned this 2025-07-08 09:58:37 +00:00
decentral1se added this to the Abra v0.11.x project 2025-07-08 10:06:51 +00:00
decentral1se moved this to In Progress in Abra v0.11.x on 2025-08-12 21:15:42 +00:00
decentral1se moved this to Done in Abra v0.11.x on 2025-08-17 09:18:44 +00:00
Owner

Woops, abra needs +x to create subdirs like ~/.abra/servers/foo. I changed it to 0700. We can keep 0600 for subdirs because we only have .env files there afterwards. See #599 for more chaos 🤸 Wow, got that wrong again, even subdirs need 0700 8a3be01c3e

Woops, `abra` needs `+x` to create subdirs like `~/.abra/servers/foo`. I changed it to `0700`. ~~We can keep `0600` for subdirs because we only have `.env` files there afterwards. See https://git.coopcloud.tech/toolshed/abra/pulls/599 for more chaos 🤸~~ Wow, got that wrong again, even subdirs need `0700` https://git.coopcloud.tech/toolshed/abra/commit/8a3be01c3efaaf999a06aca01f31ec14277a0a8a
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#580
No description provided.