[Samba] Samba vs Linux file permissions

John Maher john at chem.umass.edu
Fri Jun 3 09:16:07 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 06/03/2011 01:14 AM, Christian PERRIER wrote:
> Quoting John Maher (john at chem.umass.edu):
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello,
>>
>> I cannot find anything in the documentation or mailing list that
>> addresses this oddity.
>>
>> I've installed Samba Version 3.4.7 on Ubuntu Server 10.04, and I'm
>> utterly confused by samba's behavior regarding permissions.
>>
>> Users on the server have home directories in /home/chemgroup/username.
>> (chemgroup is actually a symlink to another volume mounted at
>> /labs/chemgroup.) Permissions on /lab/chemgroup are:
> 
> 
> How about looking in logfiles (first with log level to 3)?

Thanks for responding.

I changed log level to 3 and was able to see an NT_STATUS_ACCESS_DENIED
error when trying to change the name of a file I just created.

If I change the directory (/home/chemgroup/username) permissions from this:

   drwxr-x---

to this:

   drwxrwx---

the user username can write, rename, and delete just fine. I don't see
how the Linux permissions should affect this, because username already
is the owner of the username directory with rwx permissions.

I should not that our passdb is ldap, but I can authenticate just fine.
It is not use NTLM for auth.  It is using userPassword on the LDAP
server for auth.

> 
> 

- -- 
* - - - - * - - - - * - - - - * - - - - * - - - - * - - - - * - - - - *
John Maher
Senior Systems and Network Administrator
Department of Biochemistry & Molecular Biology and
Department of Chemistry
University of Massachusetts - Amherst
voice: 413-577-3120  fax: 413-545-4490
OpenPGP Key ID: 0x2970A144
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3o+rcACgkQG+X1pClwoUQsKACfd0tdFeU9oHMCD/JCMyYfcrfl
c1YAn24hyJUiuzrcEpfCz7lCtUnxMMZW
=i3qe
-----END PGP SIGNATURE-----


More information about the samba mailing list