samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] samba posix_acls.c file and dir permissio

[Samba] samba posix_acls.c file and dir permissions

From: <suresh.kandukuru_at_nospam>
Date: Tue Aug 10 2010 - 15:00:04 GMT
To: <>

Dear samba team,
 please help me in understanding these.

1) in samba posix_acls.c why samba always setting the READ access for
the file and READ and WRITE access for directory ?
case S_IRUSR:
                /* Ensure owner has read access. */
                pace->perms |= S_IRUSR;
                if (is_directory)
                        pace->perms |= (S_IWUSR|S_IXUSR);
                and_bits = unix_perms_to_acl_perms(and_bits, S_IRUSR,
                or_bits = unix_perms_to_acl_perms(or_bits, S_IRUSR,

2) I have connected a samba share from the device onto my windows xp
machine.. when I tried modify subfolder owner write permissions , it is
simply ignoring that and setting the write permission again.


-- To unsubscribe from this list go to the following URL and read the instructions: