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
Hard links does not create new files and all links to a file has the same permissions, so setting permissions would affect the permissions of an existing file.
(I use ansible.builtin.file with state: hard, followed by a state: absent to rename a file) (I'm on Ubuntu 20.04, so the latest ansible-lint version that works is 6.13.1, but I did not find any obvious bug reports / PRs fixing this)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hard links does not create new files and all links to a file has the same permissions, so setting permissions would affect the permissions of an existing file.
(I use
ansible.builtin.file
withstate: hard
, followed by astate: absent
to rename a file) (I'm on Ubuntu 20.04, so the latest ansible-lint version that works is 6.13.1, but I did not find any obvious bug reports / PRs fixing this)Beta Was this translation helpful? Give feedback.
All reactions