-
Hello,
I am having the same problem with not being able to access the mounted USB thumb drive from my regular user account. I have tried changing the permissions, "chmod 777 /mnt/usbdrv", but still it doesn't work. It is interesting, when the USB drive is not mounted everybody has full access to the directory but as soon as I mount the USB drive the permissions of the directory changes. I don't understand it. I need help. Thanks in advance.
-
Senior Member
registered user
I'll try and answer 2 questions with one
I said:
You want a line in /etc/fstab (if it's a HD install, it's probably already there: just remove the # in front of it):
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,sync,umask=000 0 0
Hmm, that confuses me. How does that work?
/etc/fstab defines what drives/partitions are where and what filesystems they use.
noauto = don't automount this
users = let users have read/write access to the drive/partition
exec = let people with appropriate permissions execute executables on this drive/partition
sync = synchronise read/writes (you won't need this for anything other than a hard drive)
the rest: see man fstab and man mount.
You might like to add yourself to the disk & usb group (you can use kuser to do this)
So, make the mount point, add a reference to it in /etc/fstab, add yourself to the disk & usb group, and as root do
mount -a
That's it. You can now right click on the desktop > create new > floppy device. (You can make a better pair of icons -- or I think a better pair -- by editing the usb symbol
/usr/share/icons/crystalsvg/32x32/apps/usb.png
so that you also have a mounted version showing the green triangle at bottom right hand corner. Use the Gimp.)
-
It worked after I added the line in fstab and added myself to usb group. Now I can see the USB Device from the regular user account. I thank you all for your help.
Have a great day.
zarehz
Similar Threads
-
By jehan60188 in forum MS Windows & New to Linux
Replies: 1
Last Post: 07-24-2005, 09:46 PM
-
By chris-harry in forum Hardware & Booting
Replies: 1
Last Post: 09-22-2004, 10:01 AM
-
By kuser123 in forum Networking
Replies: 3
Last Post: 08-27-2004, 11:49 PM
-
By NASAce in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-25-2003, 09:04 PM
-
By blahblahblah in forum General Support
Replies: 2
Last Post: 08-13-2003, 07:53 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km
$15.99

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10
$109.99

HP Z440 Workstation TWR Xeon E5-1603 v3, 8GB RAM, NVS310, SB1570, NO SSD/OS #95
$89.99