Why can't I see the files in the directories on my Samba-Shares?
Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.