-
user should umount root-mounted-drives
hi folks :)
I play a little bit around with mount an umount. But there are still some things, i didnt understand.
that's what I want:
Every user should be able to unmount a special drive, that has been manually mounted by root (so that drive isnt known to fstab)
I assume that "-o users" allows umounting by all users according to man-pages:
Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
I try:
Code:
root@server>mount -o users /dev/hdX /mnt/hdX
so everything went ok. But if a normal user wants to umount the drive, he gets an error:
Code:
user@server>umount /mnt/hdX
umount: only root can unmount /dev/hdX from /mnt/hdX
What's the failure?
Can you help me without putting the drive into fstab?
bye, daniel
Similar Threads
-
By randolphtaco in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-20-2005, 08:23 PM
-
By bmoore in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 04-15-2005, 01:39 AM
-
By nightfrost in forum General Support
Replies: 3
Last Post: 08-14-2004, 08:07 PM
-
By chapium in forum Hardware & Booting
Replies: 1
Last Post: 04-18-2004, 03:42 PM
-
By allantm in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-29-2003, 07:32 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

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

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11
$400.00

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

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W
$29.00

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS
$189.98

DELL PRECISION 5820 TOWER | INTEL XEON W-2235 3.80GHZ | 512GB | 16GB | NO OS
$299.99

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW
$94.99

Intel Xeon Gold 6230R SRGZA 2.10GHz 35.75MB 26-Core LGA3647 Server CPU Processor
$138.00

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00