[Samba] samba-2.2.8a-220 and OSX

Simon Hobson shobson-lists at colony.com
Wed Oct 6 08:03:31 GMT 2004


Gunther Grelczak wrote:

>We have a samba-2.2.8a-220 Server. The server works still fine with 
>several clients (W9x, W2k, WXP and smbmounts via Linux).
>But now I have to connect an Apple OSX and now I have one problem. 
>From OSX I can connect to the shares, browse the file listing. But 
>when a file is copied into a share, the file is on the destination 
>with 0 (zero) Bytes filesize. The linux uid and gid are correctly 
>set, according to the parameters from smb.conf.
>
>This phenomen occurs only with MacOSX. What happens there ???
>
>BTW: I habe also a test server with Samba 3 and there is no problem 
>to connect and upload files. But I cannot change the samba 2 Server 
>now.

You may want to take a look at 
http://marc.theaimsgroup.com/?l=netatalk&w=2&r=1&s=File+Compatibility

There are a 'number of issues' if you let OS X store stuff on an SMB 
(or any non-AFP) server - thanks Apple !


As to your problem, check the permissions on the parent of the folder 
you are trying to write to, and to the root of the share. The Mac 
generally requires write priviledge to additional locations in order 
to save file/folder/volume metadata. In some cases (such as creating 
the Network trash), you need write access at the share root so it can 
create the trash folder, but then you can remove write access.


Do you get any errors BTW ? If it was a permissions error then I 
would expect to get errors on the client.

Simon

-- 
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.


More information about the samba mailing list