LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2010, 10:32 AM   #1
DamianW
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Cannot see files on a Samba share...


Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-

I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.

The server recently crashed, so I need to get the data off the USB disk.

Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.

Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!

Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!

Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.

Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.

Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?

My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.

Thanks!
 
Old 03-19-2010, 10:40 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,244

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Hi Damian

From the sounds of it I would say all the weirdness is related to option 1.
All of your points in some way relate back to windows idea of how to view ext3.
You might be tempted to say nahuh on the Samba one but remember this is a way of linux to interact
with Windows so it is still a Windows based option causing the issue.

And lastly, while I have not heard of Synology, knocking the backup only readable by original system
wouldgenerally be exactly how Windows operates for most things!!
 
Old 03-19-2010, 10:57 AM   #3
DamianW
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
But when viewed via Samba its nothing to do with ext3 - and the files have been copied from one linux system to another, and all permissions reset.

I don't have this problem with any other linux samba share. Normally it just works.
 
Old 03-19-2010, 11:01 AM   #4
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
What are the file names that you aren't able to see on the Windows box?
 
Old 03-19-2010, 11:09 AM   #5
DamianW
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I can't see any files at all. Doesn't matter what the filename is. e.g. albumfiles.txt.
 
Old 03-19-2010, 11:40 AM   #6
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
I should have been more clear. Can you give us the output from "ls -la" on a directory that is not showing up on your Windows box?
 
  


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
Share files with Samba. How? AndeAnderson Ubuntu 11 03-05-2010 08:38 AM
How to edit files with xemacs over Samba share? Samba problem? rylan76 Linux - Software 1 11-13-2008 02:00 AM
samba and 2 files share finsh Linux - Server 2 09-16-2008 09:22 AM
Share files using Samba euro2004 Linux - Software 5 01-30-2006 05:54 PM
Don't share .files with Samba objorkum Linux - Software 1 02-28-2004 08:48 AM


All times are GMT -5. The time now is 02:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration