admin管理员组文章数量:1122832
I have a webdirectory (volleybal_wijchen) html with acl:
# file: volleybal_wijchen/
# owner: volleybal-wijchen
# group: webusers
user::rwx
user:www-data:rwx
group::r-x
mask::rwx
other::r-x
default:user::rwx
default:user:www-data:rwx
default:group::r-x
default:mask::rwx
default:other::r-x
If i create a directory in it manually i get a directory with (correct):
# file: test/
# owner: volleybal-wijchen
# group: webusers
user::rwx
user:www-data:rwx
group::r-x
mask::rwx
other::r-x
default:user::rwx
default:user:www-data:rwx
default:group::r-x
default:mask::rwx
default:other::r-x
But if i do:
wget .tar.gz
tar -xzvf latest.tar.gz
getfacl wordpress/wp-admin
I get:
# file: wordpress/wp-admin
# owner: volleybal-wijchen
# group: webusers
user::rwx
user:www-data:rwx **#effective:r-x** (i do not want this)
group::r-x
mask::r-x
other::r-x
default:user::rwx
default:user:www-data:rwx
default:group::r-x
default:mask::rwx
default:other::r-x
It looks as if a different mask is applied but i have no clue as to why. Can anyone see what i am doing wrong? I want to stick to default acl and prevent manually applying chmod and chown to directories.
i have tried:
tar --no-acls --no-selinux --no-xattrs -xvf
本文标签: linuxWrong mask applied when installing wordpress
版权声明:本文标题:linux - Wrong mask applied when installing wordpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736308295a1933610.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论