Hello, I have this bug report that I have filed. Is there any specific reason why samba behaves this way, and doesn't use the unix semantics? Since this is even more restrictive than unix semantics, I'm more inclined to call it a bug until I know it's supposed to be this way. Any ideas? ----- Forwarded message from Mike Fedyk <mfedyk@matchmail.com> ----- From: Mike Fedyk <mfedyk@matchmail.com> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: samba: Samba semantics error? X-Mailer: reportbug 2.34 Date: Thu, 30 Oct 2003 18:21:38 -0800 Package: samba Version: 3.0.0final-1 Severity: normal Hi there, I have this directory: drwxrws--- 2 admin ssh 96 Oct 30 17:09 . drwxrwsr-x 4 admin ssh 112 Oct 30 17:08 .. -r-xr----- 1 mfedyk ssh 12M Oct 29 15:40 mozilla-win32-1.5-installer.exe -r-xr----- 1 admin ssh 0 Oct 30 18:15 test.txt Under linux, I can remove any file I'd like as long as I'm either the admin user, or in the ssh group. But under windows through samba as the admin user, I can't remove the mozilla installer file, but I can remove the test.txt file. And vise versa with the mfedyk user through samba (but can remove the file as expected from a bash shell). I have tried the dos filemodes config option, but that requires the file to give group write permissions, and I explicitly don't want to do that on this share. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux mis-mike-wstn 2.6.0-test6-mm4 #2 SMP Mon Oct 6 02:32:09 PDT 2003 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages samba depends on: ii debconf 1.3.15 Debian configuration management sy ii libacl1 2.2.20-1 Access control list shared library ii libc6 2.3.2-7 GNU C Library: Shared libraries an ii libcomerr2 1.34+1.35-WIP-2003.08.21-3 The Common Error Description libra ii libcupsys2 1.1.19final-1.4 Common UNIX Printing System(tm) - ii libgnutls7 0.8.9-2 GNU TLS library - runtime library ii libkrb53 1.3-2 MIT Kerberos runtime libraries ii libldap2 2.1.22-1 OpenLDAP libraries ii libpam-module 0.76-14 Pluggable Authentication Modules f ii libpam-runtim 0.76-14 Runtime support for the PAM librar ii libpam0g 0.76-14 Pluggable Authentication Modules l ii libpopt0 1.7-2 lib for parsing cmdline parameters ii logrotate 3.6.5-2 Log rotation utility ii netbase 4.14 Basic TCP/IP networking system ii samba-common 3.0.0final-1 Samba common files used by both th -- debconf information: samba/nmbd_from_inetd: * samba/run_mode: daemons samba/log_files_moved: samba/tdbsam: false * samba/generate_smbpasswd: true ----- End forwarded message -----
On Tue, 2003-11-04 at 15:41, Mike Fedyk wrote:> Hello, > > I have this bug report that I have filed. Is there any specific reason why > samba behaves this way, and doesn't use the unix semantics? Since this is > even more restrictive than unix semantics, I'm more inclined to call it a > bug until I know it's supposed to be this way. > > Any ideas? > > ----- Forwarded message from Mike Fedyk <mfedyk@matchmail.com> ----- > > From: Mike Fedyk <mfedyk@matchmail.com> > To: Debian Bug Tracking System <submit@bugs.debian.org> > Subject: samba: Samba semantics error? > X-Mailer: reportbug 2.34 > Date: Thu, 30 Oct 2003 18:21:38 -0800 > > Package: samba > Version: 3.0.0final-1 > Severity: normal > > Hi there, > > I have this directory: > > drwxrws--- 2 admin ssh 96 Oct 30 17:09 . > drwxrwsr-x 4 admin ssh 112 Oct 30 17:08 .. > -r-xr----- 1 mfedyk ssh 12M Oct 29 15:40 mozilla-win32-1.5-installer.exe > -r-xr----- 1 admin ssh 0 Oct 30 18:15 test.txt > > Under linux, I can remove any file I'd like as long as I'm either the admin > user, or in the ssh group. > > But under windows through samba as the admin user, I can't remove the > mozilla installer file, but I can remove the test.txt file. And vise versa > with the mfedyk user through samba (but can remove the file as expected from > a bash shell). > > I have tried the dos filemodes config option, but that requires the file to > give group write permissions, and I explicitly don't want to do that on this > share.Under windows, I don't think you can delete a 'read only' file. Samba takes the missing 'w' for any user as meaning a read-only file. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20031109/d5642094/attachment.bin