|
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 03:13 AM.
|