Inside a single directory, I have 2 subdirectories:

dirname=working
(root.root rwsrwsr-x)
user::rwx
group::rwx
user:user1:rwx
group:group1:rwx
default:user::rwx
default:group::rwx
default:user:user1:rwx
default:group:group1:rwx

dirname=controlled  (root.root rwsrwsr-x)
user::rwx
group::rwx
group:group2:rwx
default:group:group2:rwx
default:user::rwx
default:group::rwx

The idea being that files from the 'working' directory get copied/moved into the 'controlled' area, and are then read-only to everybody (except for group2).

When a file is *copied* from 'working' to 'controlled' the default acl of 'controlled' is applied.

If the file is *moved*, the acl's that are on the file in the 'working' directory, are also transferred - effectively allowing that file to be modified.

With WinXP, the permissions from the destination directory are applied to the file, whether it is copied or moved. I believe the same is true on WinNT.

Is this a bug with Samba?
(Using Samba 3.0.14a)

Andi

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to