Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-15-2007, 08:13 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Question Samba File Server Renames Directories

I have installed an Ubuntu/Samba file-server. It runs on Ubuntu Fiesty 7.04. There are 3 Macs that access it. I believe two are either OSX or OS9 and one is for sure OSX. They are copying a bunch of files to the server from the Macs. It seems that some directories are copied and then renamed to something random such as DG0909~J... Then, I login to the Ubuntu/Samba box and go to the shared directory, and do a 'dir' command. It says the directory is labelled as 'Dee Lundy', like it should be. But when I try to 'cd' into that directory, it says it doesn't exist. So I rename the folder from the Mac...from 'DG0909~J' back to 'Dee Lundy' like it should be. I then tried the 'cd' command again on the Ubuntu/Samba box into the 'Dee Lundy' directory and now it is recognized as valid. I tried copying the files from the Mac to a Windows box, and THEN copying from the Windows box to the Ubuntu/Samba box. The same directory that was renamed previously was named correctly from the Window's box...except for an odd looking character at the end. This is a problem because I must have the original directory names for these files to work (they are mostly website files and depend on the structure). I can't go through and find and fix every renamed directory in a 80GB set of files.

What can I do?
Old 08-15-2007, 09:02 AM   #2
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Is it formated MS-DOS Fat? This will truncate filenames to meet the 8.3 filename requirements.

For example, thisisyourfilename.txt will become thisis~1.txt.
Old 08-15-2007, 09:11 AM   #3
LQ Newbie
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0

It is actually a RieserFS Journaling File System. I don't think it is entirely a truncated form though... Going from 'Dee Lundy' to 'DG0909~J' is kind of an awkward switch.
Old 10-24-2007, 10:53 AM   #4
LQ Newbie
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
i am having the same issue - my client uses extremely long file names that include spaces and occasionally the folders get renamed... I believe this is definitely a Samba issue because i can SSh in and view the folder name - it looks normal - but if a view the folder via SAMBA it looks crooked... I am hoping Netatalk will not do this...

What are some other protocols that i can use in an office environment that i can use instead of samba?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba - on one server, [Home Directories] on another linderox Linux - Server 1 05-29-2007 07:06 AM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
file permissions not being remembered for SAMBA printer files/directories Avatar Linux - General 0 08-30-2005 01:44 PM
File Server - File system? Samba SUSE9 crazyswede Linux - Newbie 1 04-14-2005 10:04 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:05 AM.

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