You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected dotter to elevate before checking the state of the file/dir as I had specified the "owner" field. Or perhaps elevate if it gets a permission denied.
Actual behavior
Dotter fails with a permission denied.
$ ▶ dotter -v
[ INFO] [+] template "test" -> "/tmp/nonreadable/test"
[ERROR] Failed to create template "test" -> "/tmp/nonreadable/test"
Caused by:
detect templated file's current state
get state of target
read contents of file that isn't symbolic or directory
Permission denied (os error 13)
The text was updated successfully, but these errors were encountered:
Environment
Description
When specifying a target directory that dotter can't read, dotter fails to create symlinks or templates, even when owner is specified as root.
Reproduction
Create directory user can't read.
Expected behavior
I expected dotter to elevate before checking the state of the file/dir as I had specified the "owner" field. Or perhaps elevate if it gets a permission denied.
Actual behavior
Dotter fails with a permission denied.
The text was updated successfully, but these errors were encountered: