[Samba] Fwd: Samba semantics error?

Andrew Bartlett abartlet at samba.org
Sun Nov 9 01:02:21 GMT 2003


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 at matchmail.com> -----
> 
> From: Mike Fedyk <mfedyk at matchmail.com>
> To: Debian Bug Tracking System <submit at 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 at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at 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


More information about the samba mailing list