LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-15-2007, 09:13 AM   #1
bgearig
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, 10:02 AM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 224

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, 10:11 AM   #3
bgearig
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Nope...

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, 11:53 AM   #4
huggy77
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?
 
  


Reply


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 08:06 AM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM
file permissions not being remembered for SAMBA printer files/directories Avatar Linux - General 0 08-30-2005 02:44 PM
File Server - File system? Samba SUSE9 crazyswede Linux - Newbie 1 04-14-2005 11:04 AM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration