[H-GEN] FAT32 HDD access

David Duffy avd at audiovisualdevices.com.au
Tue May 30 21:31:50 EDT 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]


><snip>
> > OK, I've formatted it. (The BIOS only took it to be 8GB but that's OK)
> > I've mounted it & can access it just fine on the Linux (RH 6.2) box.
> > I set up a disk share in Samba to share it over the Win98SE network.
> > But... unless I set it to "public access" I can't get permission to
>write
> > to it.
> > Also, when I set the "allowed hosts" it fails password acceptance.
> > I've read the man pages but am still a bit confused on how to set it
>up.
> > I want R/W access from the Win98SE network but no security problems
> > as the same Linux box is also the Internet interface/server/mail exchange.

Joel Michael wrote;
>In that case, I'd look into
>IPfwadm/IPChains/IPNat/IPMangling/IPwhateverthehellitscallednow, and
>really lock down the machine.  Decide what traffic you want to go in and
>out of which interface, and disallow everything else.  At the very
>least, firewall off TCP/UDP port 139 on the "Internet" side of this
>machine ("man ipchains" for more info).

Do you mean the "blocking firewalling" rules? (via linuxconfig)
There are "blocking", "forwarding","output" & "packet" sections.
This is where I'm really lost - lots of reading but it's not making sense!
I have turned off all ports except http & mail. (I think)

>   With your mail exchange, I
>really hope you're using an MTA that disallows relaying, and have
>anti-relaying turned on.

I've set sendmail to not relay & have set some "rejected senders" rules.

>You may also need to look at the mount options for the hard drive, to
>allow everyone to write to it (file mode 0777 - from memory it defaults
>to 0755 - "man mount" for more).  I'm guessing that samba uses the
>logged-in uid to write files, and if the dos disk was mounted 0755, then
>you would not have permission to write to it.

How do I change the permissions on that drive? I tried to chmod the
mounted directory but that doesn't want to work. It seems to refuse
to let me add group write to that directory or any under it. When I list
the mounted drives, it says that hdb is RW. Is that what you meant?
Regards...

___________________________________________
David Duffy        Audio Visual Devices P/L
U8, 9-11 Trade St, Cleveland 4163 Australia
Ph: +61 7 38210362   Fax: +61 7 38210281
New Web: www.audiovisualdevices.com.au
New email: avd at audiovisualdevices.com.au
___________________________________________


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list