-
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
Cisco w/ Green Hologram SFP-10/25G-LR-S 10/25GBASE-LR SFP28 Transceiver Module
$79.99
Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module
$24.99
Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP
$314.99
Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF
$29.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02
$5.00
Lot of 10 SFP-GB-GE-T Copper RJ45 10/100/1000Base-T 100m Transceiver Modules
$29.94
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module
$34.99
LOT OF 10 HPE JD092B X130 10G SFP+ LC SR Transceiver
$40.00