TransWikia.com

Getting moved files to inherit permissions in Linux

Unix & Linux Asked by tgz on November 9, 2021

I have set up a folder that is assigned to a group.

drwxrws---+   2 operator    IDGroup    4096 Jul 21 10:22 MyTest

The following ACL is applied:

setfacl -Rdm group:IDGroup:rw MyTest

Files created in this directory inherit group IDGroup which is correct.

Files moved into this directory retain their original group ownership which is what I do not want.

Is there a way to have files moved into this directory get reassigned to group IDGroup?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP