Hi,
On my SMB share, there is a directory where every users have a subdir named with their name. Everyone can deposit file to this directory, but only the "owner" can read content. Let's call this a deposit box. All deposit boxes are located inside the same ZFS dataset.
Everything work fine if someone transfer a file from its PC to someone else deposit box.
The problem occurs when user A try to move a file received from its deposit box to the deposit box of user B. The permission of the moved file is preserved (so only user A can read the file even if the file is now located in the deposit box of B).
Every deposit box have permission inherit enabled, but this is ignored when a file is moved. Is it possible to force moved files to inherit from the parent directory?
Thanks.
On my SMB share, there is a directory where every users have a subdir named with their name. Everyone can deposit file to this directory, but only the "owner" can read content. Let's call this a deposit box. All deposit boxes are located inside the same ZFS dataset.
Everything work fine if someone transfer a file from its PC to someone else deposit box.
The problem occurs when user A try to move a file received from its deposit box to the deposit box of user B. The permission of the moved file is preserved (so only user A can read the file even if the file is now located in the deposit box of B).
Every deposit box have permission inherit enabled, but this is ignored when a file is moved. Is it possible to force moved files to inherit from the parent directory?
Thanks.