LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-21-2001, 06:21 AM   #1
Asuka Tabi
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0
Angry Why can't I see the files in the directories on my Samba-Shares?


I see that I stumped whoever cared to ignore my last question posted in the forum, but I'm back with another that is a little less obscure.

I'm trying to manage my Linux Router...

Pentium II 350
320 MB RAM
- DEC Tulip 10 Mbps Combo (192.168.1.1)
- Realtek 8139 10/100 Mbps (192.168.0.1)
3 Hard-Drives
- HDA Seagate 10.4 GB "Linux Mandrake 7.1"
- HDB Seagate 10.4 GB "Windows 2000 Server Pro"
- HDC Maxtor 20 GB (File Archive)

Here's the problem. I have a 10 Mbit hub attatched to the Tulip card of the router and 2 other systems attatched to that.

- (System A) 192.168.1.3/24 Windows 2000 Server Pro
- (System B) 192.168.1.10/24 Windows 98 SE

I have been trying to configure Samba via "SWAT" and other times I have had no problems at all (i.e. with Windows NT 4.0 and Windows 95 OSR2B) but after setting up shares and rights etc, on the Win2000 system, I can see all of the directories on the share but none of the actual files in them. But on the Win98 system I can see all of the files and I can download and upload files, but I can delete any of them. Even if it's a file I just added. My friend and I both have been having the same problem with out respective networks.

Just to complicate matters... When I set up the first share which was to be visible and accessable only to the Win2000 system, everything worked fine. I then set up another share that could be seen and accessed by the Win98 system as well as the Win2000 system. Again Win2000 behaved properly, but Win98 could not delete any of the files on it's share. (Even though I gave it explicit writes to do so.)

So then I tried relaxing the access rights for the Win98 share to the level of the Win2000 share, which could is allowed to do everything but write a knitted-sweater to the hard-drive, but after effecting that change, I was unable to see the files in the directories of either share on the Win2000 system and the situation had not change in Win98.

What the hell's going on here???!!! I know this stuff works, because I've done it before, albeit without SWAT, but what difference should that make. Why would changing the permissions on one share effect the permissions and attributes of another share completely un-related to it? I even tried using "chmod" on the Linux-end of the ishares and giving the whole damned world rights to do whatever they please to the drive, and still no change.

Help.
 
Old 06-21-2001, 01:10 PM   #2
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Hi
Look at the globals page of swat, advanced view. I think there's a setting for "Force directory mode" and similar for file mode. Maybe the number there is the prob. If not, you could use that to set a default, and then change the specific files you didn't want to share.
Read the book at the bottom of the swat page, which has a section on this as I recall.
Jim
 
  


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 trouble - directories, but no files adityamalik Linux - Networking 2 09-27-2006 12:12 AM
10.0 beta 4 tiny niggle -- SAMBA shares don't display all the directories 1kyle Suse/Novell 1 09-10-2005 01:12 PM
Samba does not allow writing to public shares / browsing home directories disallowed Xolo Linux - Software 6 02-14-2005 04:22 PM
Opening Files through shares on Samba hollovoid7 Suse/Novell 2 11-21-2004 12:39 PM
Transferring files from Samba shares raypen Linux - Software 1 12-08-2002 05:11 PM


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

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