<div dir="ltr">I see that you can get a file&#39;s permissions with file-or-directory-permissions, but there doesn&#39;t seem to be any way to change them. Am I missing something?</div>