-
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 ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad X1 Yoga Gen 6 14" 16GB, Storm Gray
$356.80

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro
$398.99

Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...
$349.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"
$200.00