External USB disk - Only ROOT has Write permission (Suse 10.3)
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can do two things to give yourself write permissions. Either use the fmask and dmask options to give "others" read/write permissions, or use the "uid" option to make yourself the owner.
Code:
mount -t vfat /dev/sdb1 /mnt/extusb -o defaults,uid=<yourusername>,fmask=0177,dmask=0077
or
mount -t vfat /dev/sdb1 /mnt/extusb -o defaults,fmask=0111,dmask=0000
See the "mount" man page for other options such as "noatime" which you want to use for flash drives.
Hi there
I need to use the Disk on both Windows and Linux machines.
Not all the Windows machines are connected (even remotely) to Linux machines so I have to use a Windows file system on the disk.
The current incarnation of ntfs-3g with the latest kernel doesn't seem to break NTFS. I've done some pretty exhaustive testing on SUSE 10.3 x_64. Unlike the initial releases of FUSE / ntfs-3g this seems very stable.
Ideally an ext3 file system would be better but on some Windows machines (Office / Work) I use I don't have admin rights so can't install the ext3 package for Windows.
(I also backup regularly so no disaster even if the whole disk goes AWOL).
That method is not really a solution as I need to use the disks in applications such as VMWARE Workstation.
The Super User mode is fine for browsing files / copying data but when you need to run specific applications such as Opem Office etc. then you need normal USER access to these disks.
The nt-3g method described above works fine.
With large disks and VISTA vfat will probably be on its way out soon anyway.
Cheers
-K
That method is not really a solution as I need to use the disks in applications such as VMWARE Workstation.
The Super User mode is fine for browsing files / copying data but when you need to run specific applications such as Opem Office etc. then you need normal USER access to these disks.
The nt-3g method described above works fine.
With large disks and VISTA vfat will probably be on its way out soon anyway.
Cheers
-K
I think you misunderstood me. You use Super User Mode to change the permissions. Then the disk is owned by the user instead of root. It worked for me anyway for writing to my external firewire drive as a regular user.
Hi there
Firewire (IEExxx interface) drives have no problem --it just seems to be the USB Drives for some strange reason.
Memory SD card (VFAT) is also OK
If you want any user to be able to write to a vfat filesystem, use dmask & fmask mount options that allow "others" to write to it. The "uid=" mount option can change the ownership to yourself. Unless there was a problem with the filesystem causing it to be mounted readonly, you must not have used the uid, fmask & dmask options that would give you write access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.