#getfacl /home/permission.txt を実行しました。 結果以下のようになりました。 <結果> getfacl: Removing leading '/' from absolute path names # file: home/permission.txt # owner: root # group: root user::rwx user:test:rw- group::--- mask::rw- other::--- 不明点が2点あります。 1.# file: home/permission.txt の /homeではなく、homeになっている点。 getfacl実行時に、/を付けて出力する方法はないでしょうか。 ※setfacl --restore 実行時に、fileに homeのままでは、エラーになってしまうのです。 2.getfacl: Removing leading '/' from absolute path names のメッセージについて どういう意味でしょうか? → 絶対パスから / を取り除いたということでしょうか? だとしたら、home/permission.txt の homeの後ろに / が、ある理由がわからないのです。
↧