LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2003, 12:37 AM   #1
yurlittlepony
LQ Newbie
 
Registered: May 2003
Location: San Francisco
Posts: 16

Rep: Reputation: 0
Question: Linux + Win file sharing with Samba


Hiya -

I've just set up my network w/Linux SuSE 8.1 server (dual boot w/Win 98 directory) + Win ME laptop (i know, i know). I have a very, very basic smb.conf file to kick things off:

[global]
workgroup = MS
encrypt passwords = yes
oplocks = no
[test]
comment = testing
path = /usr/local/samba/tmp
read only = no
guest ok = yes

I can access the tmp directory via my laptop, no problem. And I can swap files, i.e. copy a file from the laptop to the tmp directory of the server, no problem.

When I change out the path line with

path = /windows/c

and that's the only thing I do, I can see that directory from my laptop, but I cannot copy a file to that directory. It so happens that this used to be the main directory on the hard disk, and where I'd like to dump some files.

Why can't I access this directory? It's the only thing I've changed in the above samba.conf file. I don't believe that there are any access distinctions for any directories.

Thanks.
YLP
 
Old 08-29-2003, 02:46 AM   #2
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
You may be mounting the FAT32 partition (Win98's C Drive) as read-only in your /etc/fstab file. Double check those settings so they are read-write (rw).
 
Old 08-29-2003, 11:39 PM   #3
yurlittlepony
LQ Newbie
 
Registered: May 2003
Location: San Francisco
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply. Hmmm, my fstab file reads as follows:

/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0

I'm not sure what to make of this. I tried changing the verbage after vfat to "default 1 1" like the line above it, and it did not help. ???
 
  


Reply



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
Using Samba or Netatalk for Linux to Mac File Sharing maelstrom209 Linux - Networking 1 04-25-2006 11:59 AM
File sharing between Linux and Win XP keithdj Linux - Newbie 3 09-07-2005 07:00 AM
Win Xp and RH9 File Sharing steve_d555 Linux - Wireless Networking 13 04-14-2004 08:15 PM
win xp file sharing Judas Linux - Newbie 2 10-17-2002 09:04 AM
Automating Linux/Win file sharing on startup deesto Linux - Networking 11 09-11-2002 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:46 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
Open Source Consulting | Domain Registration