!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

355 Members
age-encrypted secrets for NixOS https://github.com/ryantm/agenix/90 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2024
@tornax:matrix.orgtornax it belongs to root 23:35:21
@k900:0upti.meK900You need to set the right permissions on the secret 23:37:38
@tornax:matrix.orgtornaxooooh23:38:02
@k900:0upti.meK900The directory itself should be world readable 23:37:48
@k900:0upti.meK900The secrets can have whatever permissions you tell them to 23:37:59
@k900:0upti.meK900(in this case, probably owned by your user and 0400)23:38:17
@tornax:matrix.orgtornax
In reply to @k900:0upti.me
The directory itself should be world readable
hm... I can't do ls /run/agenix
23:38:28
@tornax:matrix.orgtornaximage.png
Download image.png
23:38:36
@k900:0upti.meK900It's 0751 I'm pretty sure 23:40:02
@k900:0upti.meK900Which is an interesting mode23:40:08
@tornax:matrix.orgtornaximage.png
Download image.png
23:40:26
@k900:0upti.meK900For directories, the "read" permission means "can I get a list of files in this directory", and the "execute" permission means "can I access individual files inside this directory that I know the path to" 23:41:01
@k900:0upti.meK900So yes, it is 0751 (rwx/rx/x)23:41:25
@tornax:matrix.orgtornax wait, but doesn't that mean, that I should be able to execute ls /run/agenix.d? 23:41:55
@k900:0upti.meK900 So ls /run/agenix requires read 23:42:01
@k900:0upti.meK900 But cat /run/agenix/foo only requires execute 23:42:15
@k900:0upti.meK900
In reply to @tornax:matrix.org
wait, but doesn't that mean, that I should be able to execute ls /run/agenix.d?
No, since you're not the owner
23:42:24
@k900:0upti.meK900The permissions as set are: owner read/write/execute, group read/execute, other execute 23:43:01

Show newer messages


Back to Room ListRoom Version: 6