[Samba] Strange behavior with file/directory permissions.

Adam Nielsen adam.nielsen at uq.edu.au
Thu Dec 8 01:12:59 GMT 2005


>         inherit permissions = Yes

What happens if you remove this?

> If I change the permissions to 0750 or 0770, I'm able to see and write
> to the directory (even if the group permissions forbid writing).

If you create a new file in the directory here, is the new file owned
by the expected user and group?

> I'm not sure I understand why the group is taking precendence over the
> user permissions. If I log into the same Linux system and my
> permissions on a given directory are 0700, I, as the user,  have full
> access to that directory. However, this is not the behavior I'm seeing
> when I connect via SAMBA.

Are you sure you don't have any "map to guest" option that might be
altering the username?

Cheers,
Adam.


More information about the samba mailing list