[Samba] rename or mv not possible when unix write mode not set
Felipe Augusto van de Wiel
felipe at paranacidade.org.br
Sat Jan 13 00:31:41 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/11/2007 06:21 PM, Kevin Longfellow escreveu:
> Hi,
>
> I'm wondering if anyone knows of a workaround or fix
> for the below issue.
>
> The Samba server is running on:
> Red Hat Enterprise Linux AS release 3 (Taroon Update
> 4) kernel=2.4.21-27.0.2.1.9.ELsmp
>
> Samba version = 3.0.20b
> chmod and mv are from the MKS toolkit.
Do you mean that you are using chmod and mv
provided by MKS under windows, or are you saying
something else?
> The question/issue:
> In unix I can do:
>
> touch kltest
> chmod 544 kltest
> mv kltest kltest3
>
> If I create a directory on the samba server and
> share it as below the above fails with permission
> denied from my Windows XP system. Any idea what the
> problem is and how to fix this? I know the obvious
> chmod 644 but the 544 permission is not in my control.
> It is created by a source control system, so I cannot
> change the permission.
Did you try to add vfs full audit and check
what's going on "under the bridge"?
And also, what the log says when you try to
execute the same thing? Doing that over the smbfs
or CIFS is not _exactly_ the same thing as when you
are on the unix filesystem.
> Share information:
> [ade_dnv_txn]
> comment =
> read only = no
> path = /ade_dnv_txn
> public = yes
> valid users = @st-dnv-smbusers
> printable = no
> create mask = 0777
> directory mask = 0777
> preserve case = yes
> short preserve case = yes
>
> Thanks,
> Kevin
Kind regards,
- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFFqChtCj65ZxU4gPQRAgS/AKDChmn8gk84JBkeFdyEXozrOd1z+gCeMlMS
bpKBhgzQuN8G9NbBxB5uBH8=
=LH1e
-----END PGP SIGNATURE-----
More information about the samba
mailing list