-
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

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch
$79.99

Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB
$285.00

Juniper ZZTEST-SYSTEMS-OPS-0909 Networking Equipment — Tested & Guaranteed
$88888.00

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)
$999.99

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p
$89.99

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS
$8199.99

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)
$361.91