acl を使用した後、権限が期待どおりに機能しません。

acl を使用した後、権限が期待どおりに機能しません。

こんにちは。私はsales1 account1という2つのグループとsales1 account1という2つのディレクトリを持っています。

carolina:x:1006:
marcha:x:1007:
lori:x:1008:
boby:x:1009:
sales1:x:1010:carolina,marcha
account1:x:1011:lori,boby

以下は、 sales1/ および account1 ディレクトリに適用される acl です。

[root@localhost ~]# getfacl /home/data/sales1/
getfacl: Removing leading '/' from absolute path names
# file: home/data/sales1/
# owner: root
# group: sales1
user::rwx
group::r-x
group:account1:rw-
mask::rwx
other::---
default:user::rwx
default:group::r-x
default:group:account1:rw-
default:mask::rwx
default:other::---

アカウントディレクトリのユーザーがsales1 /にファイルをタッチしようとすると、この現象が発生します。

[root@localhost ~]# su boby
[boby@localhost root]$ touch /home/data/sales1/file1
touch: cannot touch '/home/data/sales1/file1': Permission denied
[boby@localhost root]$ groups
boby account1

混乱しています。 rw-はファイルを読み込んで編集できるという意味ではありませんか?

ベストアンサー1

おすすめ記事