Hi, i got a problem with a samba share... let's say i have 2 folders. the first folder is only accessible by 1 group (sharepriv), which has r/w access. getfacl output: Code: # file: complete/ # owner: elfish # group: elfish user::rwx group::rwx group:sharepriv:rwx mask::rwx other::--- default:user::rwx default:group::rwx default:group:sharepriv:rwx default:mask::rwx default:other::--- the 2nd folder is accessible by 2 groups and 1 user. 1 group has rw access (same group as on the first folder) the 2nd group only has read permissions getfacl output Code:# file: Sonstiges/ # owner: elfish # group: elfish user::rwx user:shareguest:r-x group::rwx group:sharepub:r-x group:sharepriv:rwx mask::rwx other::--- default:user::rwx default:user:shareguest:r-x default:group::rwx default:group:sharepub:r-x default:group:sharepriv:rwx default:mask::rwx default:other::--- if i move a file from the first folder to the second folder by cutting it out in windows (the share is mounted there) and inserting it in the 2nd folder the 2nd group (sharepub) has no access to it. So basicly the first folder keeps it's permissions. i thought that the parent dir permissions are set to sub folders/files. oh and i enabled honor existing acls and enable permission inheritence, which i think should be correct. anyone got an idea whats wrong? regards
> if i move a file from the first folder to the second folder by cutting it > out in windows (the share is mounted there) and inserting it in the 2nd > folder the 2nd group (sharepub) has no access to it. So basicly the first folder > keeps it's permissions. > > i thought that the parent dir permissions are set to sub folders/files. > > oh and i enabled honor existing acls and enable permission inheritence, > which i think should be correct. > > anyone got an idea whats wrong?Nothing is wrong. This is the default behavior of Windows itself. When you move a file, it keeps its permissions, as it should. When you copy a file, it acquires the permissions of the destination folder. With Windows 7 there has been some modification to this default behavior. Please consult the Microsoft technical pages about this.
Maybe Matching Threads
- Discard permissions on moving files/folders in a share and inherit the permissions of the new parent directory
- PXE Linux (Simple Menu) freeze after pressing 23 times return
- rsync- buffer overflow/broken pipe with critical filename-lenght using cwrsync at server-side
- ACL and delete files
- First Version of OpusDrop