Kevin Longfellow
2007-Jan-11 20:29 UTC
[Samba] rename or mv not possible when unix write mode not set
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. 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. 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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
Felipe Augusto van de Wiel
2007-Jan-13 00:31 UTC
[Samba] rename or mv not possible when unix write mode not set
-----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, > KevinKind regards, - -- Felipe Augusto van de Wiel <felipe@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-----
Possibly Parallel Threads
- rename question/issue using samba share
- Command line not conform with mv/cp convention
- 'mv: preserving permissions for `all.R': Operation not supported' when installing R 3.1.0 via compiling source code in CentOS
- [PATCH] utils add minimal mv
- Portech MV-378 with Asterisk