小编Ada*_*zuk的帖子

How to clone ACL permissions?

I've just found out that my backups were missing ACL and the restore will not work until this is fixed.

Luckily I have the luxury of checking what the permissions should look like on a running system, e.g:

RESTORED:

# file: samba/sysvol
# owner: root
# group: 3000000
user::rwx
group::rwx
other::---
Run Code Online (Sandbox Code Playgroud)

RUNNING:

# file: samba/sysvol
# owner: root
# group: 3000000
user::rwx
user:root:rwx
group::rwx
group:3000000:rwx
group:3000001:r-x
group:3000002:rwx
group:3000003:r-x
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:group::---
default:group:3000000:rwx
default:group:3000001:r-x
default:group:3000002:rwx
default:group:3000003:r-x
default:mask::rwx
default:other::---
Run Code Online (Sandbox Code Playgroud)

There …

linux permissions bash acl

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

acl ×1

bash ×1

linux ×1

permissions ×1