LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-15-2004, 06:15 PM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Kernel 2.6 sharing USB disk via NFS


I've got an external disk mounted on /media/usb-storage-YA42H1MWE:0:0:0P1

I want to share this with another linux box (This disk is also plugged in to a Windows box sometimes -- it's a removable 250 GB USB disk so that's why it's got a FAT32 file system on it.).

Mount shows it's also on /dev/sda1 and it's a FAT32 file system.

I've also mounted on /sda1 on /media/extdisk type vfat and exported the directory OK

On the client side I can access the disk but whatever file permissions I give the directory I can only get READ access unless I'm Root.

2 Boxes Server greyfox @ 192.168.7.2
Client blackdog @ 192.168.7.3

Here's the status on the client side

jim@blackdog:~> mount
/dev/hda8 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda5 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda6 on /windows/E type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda7 on /windows/F type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hdc on /media/dvdrecorder type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
greyfox.site:/home/jim on /mnt/desktop type nfs (rw,addr=192.168.7.2)
greyfox.site:/media/extdisk on /mnt/linuxmaxtor type nfs (rw,addr=192.168.7.2)
greyfox.site:/home/jim on /mnt/jimsdesktop type nfs (rw,addr=192.168.7.2)
jim@blackdog:~>



The entry /media/extdisk shows clearly that the disk is READ WRITABLE -- so how do I get WRITE permission for a user rather than root.


Thanks

The Network aspect seems fine to me -- but I'm having real problems sorting out File access permissions.

I thought I'd be stuck the other way round. I'm using SUSE 9.1 on both boxes.


( I wonder if it has anything to do with the way hotplug USB is implemented -- there was a similar problem with using a Scanner as a normal USER -- there was a get around for that --but YOU (online update) has fixed it).

Last edited by 1kyle; 07-15-2004 at 06:24 PM.
 
Old 07-19-2004, 06:59 AM   #2
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Original Poster
Rep: Reputation: 32
Nobody has a problem sharing a USB external hard disk -- ??
USB disk on remote Linux machine

(On Windows SAMBA shares work fine -- just NFS doesn't seem to allow it to be WRITE other than by ROOT)


Thanks
 
  


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
Kernel can't initialize the USB Hard Disk !! apache Linux - Hardware 0 10-04-2004 05:55 AM
Sharing USB Ext Disk -- can only Write as ROOT ( Hotplug ??) 1kyle Linux - Networking 4 08-12-2004 11:01 AM
usb disk problem with 2.6.7 kernel poweroff Linux - General 0 06-29-2004 07:50 AM
specific USB Flash Disk not being mounted on Red hat 9 on kernel 2.4.20 irfanhab Linux - Hardware 3 01-30-2004 04:19 AM
NFS no sharing hotrodowner Linux - Networking 3 06-06-2002 09:14 PM

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

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