我试图更改gitlab的默认安装目录,这导致更改了所有文件的权限和所有权。它没有启动。我只想从其他实例复制权限和所有权。可能吗?
# other instance
cd "$gitlab_root_default"
getfacl --recursive . >/root/gitlab_permissions
# copy /root/gitlab_permissions to new system
# new system
cd "$gitlab_root_new"
setfacl --restore=/root/gitlab_permissions
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句