LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 09-24-2005, 04:08 AM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
nagging problem --sharing USB drive with Windows for read/write


Hi -- I seem to have a problem that just won't go away with external USB drives -- I've got 2 X 250 GB maxtor drives connected to a SUSE server and want to share these with Windows on a Network.

The drives are formatted as reserfs drives .

I mount them after the server is booted

mount -t reiserfs -o rw /dev/sda5 /media/4windows1
mount -t reiserfs -o rw /dev/sdb5 /media/4windows2

On the Windows machine I can see and read all the directories and files

BUT NO WRITE ACCESS

I have to go back on the Linux server and AFTER EACH BOOT re set all the permissions manually

I've set the NFS up correctly etc -- but I still manually have to do the permissions stuff as root.

Now I know there is a problem with USB drives in the fstab as when the fstab is processed the devices aren't ready yet so perhaps I could have a script that does the mount and the permissions after boot up

I don't know any shell scripting so was wondering if someone could post one for me


I need the 2 mounts as above and allow ALL members of group USERS to have read and write access to the directories /media/4windows1 and /media/4windows2 from the root downwards (and to be able to create new ones) --these disks are for public shares across the entire network.

An automatic script which ran after the system was booting would be quite an acceptable get around --I just don't want to have to enter this stuff manually each time.

Thanks

-K

Last edited by 1kyle; 09-24-2005 at 04:13 AM.
 
Old 09-24-2005, 08:54 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
if you have to reset the permissions each time you reboot this sounds like you use udev (udev creates everything in /dev/ dynamicly at boot and also resets the permissions) you can edit your udev rules so that when it boots it will give sda5 &sdb5 the corect permissions
 
Old 09-25-2005, 04:35 AM   #3
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Original Poster
Rep: Reputation: 32
Thanks --It's fine now

I think a BIG problem with Linux (or at least the users) is that having used Windows for so long one automatically thinks of doing things in a "Windows like" mode.


Once you start "Unlearning" the Windows way it does become much more logical and easier.

Cheers

-K
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
9.3(Here's how to Read Windows NTFS files on ext USB drive as user 1kyle Suse/Novell 0 09-01-2005 04:59 AM
How to get Ubuntu to read Windows/USB drive? Micro420 Ubuntu 5 08-21-2005 02:17 AM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 02:48 AM
read & write USB pen drive?? wrangler Linux - Newbie 5 03-08-2005 04:11 PM
USB drive keeps mounting as "read only" I need to write to it. Lossenelin Linux - Hardware 1 02-12-2004 07:49 PM


All times are GMT -5. The time now is 06:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration