LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2006, 12:38 PM   #1
SkipDaddy
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
Mounting USB drive as writable via Samba connections.


OK, I have dug around the forums, and have played with 1000 different mount commands and smb.conf entries, and still I am missing something. I am unable to mount the drive so that users other than root can write to the /mnt/usb and its subs. And when I share the drive via samba, I am unable to connect to the share as root, therefore I cannot write to the share.

My mount command (latest that I use) is this:
mount -t auto -o users /dev/sda1 /mnt/usb

Unwriteable by ayone other than root. I figured the users group would be able to write to the dir, but no such luck.

Then I samba share this baby...
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[usb-external]
comment = The 20gb External Drive
path = /mnt/usb/
guest ok = yes
read only = no
guest only = yes
create mask = 0666
directory mask = 0777

I have messed with the masks and guest flags, and I may have missed the proper combination. You know how it is after chasing your tail for so long. You forget all that you have actually done, sometimes.

Any ideas? Would love someday to have this baby auto mount and auto share. We lose power anytime someone sneezes in the neighborhood. But alas, the drive never autodetects on boot up either. I have to unplug it and replug, then I can see and mount the drive.

Thanks for any hints or tips.

Skip Hollowell.
Slackware 10.2, paitently waiting for 11.
 
Old 10-03-2006, 05:05 AM   #2
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Rep: Reputation: 15
Quote:
Originally Posted by SkipDaddy
Slackware 10.2, paitently waiting for 11.
I believe Slackware 11 is out via bit-torrent already
 
  


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
mounting windows partitions in writable mode for a normal user peevee Linux - Software 4 11-07-2004 04:08 PM
Mounting NTFS as writable jon_k Linux - Software 3 05-24-2004 01:14 AM
Making Windows shares writable when mounting in RH9 biased99 Linux - Networking 2 03-03-2004 04:40 AM
Mounting Filesystems automatically that are writable by users phasmal Linux - Newbie 1 01-06-2004 09:58 PM
Mounting my USB external drive, USB 1.1 Devillion Linux - Hardware 4 01-04-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:24 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