LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2004, 01:29 PM   #1
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Rep: Reputation: 15
strange samba stuff, odd files


I had a similar problem before which I posted here.

I tried again and got similar results

I copied a gigabyte or two of photos from windows xp to a public share on a debian woody server running samba 2.2

On first attempt I thought files had got corrupt. I quickly trashed everything I copied over.

After trying again I took a closer look. It appears as all my files are there, except there are extra files. when I try to open these extras in eye of gnome (on debian testing) I get either "empty file" or "unrecognised image type" error messages. They dont open in windows either.

Here is a listing of one of the directories. (only some of the directories apear to be affected)
DSCF0~0@.JPG DSCF0572.JPG DSCF0~6-.JPG DSCF0~DK.JPG DSCF0~W7.JPG
DSCF0~1O.JPG DSCF0574.JPG DSCF0~7M.JPG DSCF0~GC.JPG DSCF0~Z6.JPG
DSCF0568.JPG DSCF0575.JPG DSCF0~AL.JPG DSCF0~-$.JPG THUMB~JT.DBE
DSCF0569.JPG DSCF0576.JPG DSCF0~DD.JPG DSCF0~##.JPG Thumbs.db

all the files with the ~ charactor are the extras. Not sure about the THUMB~JT.DBE, i think thats something to do with gnome? as is Thumbs.db something to do with windows.

The samba configuration file is pritty much default. i uncommented and edited the examples to my needs. security is user.

Code:
[public]
   comment = Shared files
   writable = yes
   path = /var/public

;smb created files and directories are assigned at least these permisions
   force create mode = 0775
   force directory mode = 0775
Probably unrelated, but if I use gnome vfs to access shares, the mime type of my pictures are wrong/different. In this case get application/x-jpg. If i mount a share i get image/jpeg which gnome recognises and doesnt ask me to associate an application with them. I chmod a-x a bunch of photos and that made no difference.
 
Old 11-15-2004, 06:41 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
post the global section of your smb.conf
also check your samba log files for errors.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
odd samba question zepplin611 Linux - Security 3 10-06-2004 09:13 AM
odd problem w/ .wmv files biotek1 Fedora 0 01-21-2004 12:11 PM
new stuff in web logs, strange Robert0380 Linux - Security 1 09-27-2003 05:33 AM
Strange stuff in 2.6.x-tests Oxagast Linux - Software 1 08-03-2003 10:06 AM
Samba....again...but this one is odd!!! kobe Linux - Networking 3 07-24-2002 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration