Only Root can umount
Posted: 23 May 2017, 21:13
Hi,
I have a ext4 filesystem that I can mount, read and write as guest, but I cant umount it as guest only as root.
My /etc/fstab has the line:
/home/guest/ext4_file /home/guest/ext4_dir ext4 loop,rw,user,noauto 0 0
The output of the command "mount | grep ext4" is:
/mnt/live/memory/changes/home/guest/ext4_file on /home/guest/ext4_dir type ext4 (rw,noexec,nosuid,nodev,user=guest)
My /etc/mtab has the line:
/dev/loop6 /home/guest/ext4_dir ext4 rw,noexec,nosuid,nodev,user=guest 0 0
The output of the command "ls -ld ext4_dir" is:
drwxr-xr-x 3 guest users 1024 May 23 21:24 ext4_dir/
The output of the command "umount ext4_dir" is:
umount: /home/guest/ext4_dir: umount failed: Operation not permitted
Can someone help me how can I umount as guest user?
Obs. With Slackware 14.1 and 14.2 this configuration works perfectly, I can umount as regular user without any problem.
Thanks
Carlos
I have a ext4 filesystem that I can mount, read and write as guest, but I cant umount it as guest only as root.
My /etc/fstab has the line:
/home/guest/ext4_file /home/guest/ext4_dir ext4 loop,rw,user,noauto 0 0
The output of the command "mount | grep ext4" is:
/mnt/live/memory/changes/home/guest/ext4_file on /home/guest/ext4_dir type ext4 (rw,noexec,nosuid,nodev,user=guest)
My /etc/mtab has the line:
/dev/loop6 /home/guest/ext4_dir ext4 rw,noexec,nosuid,nodev,user=guest 0 0
The output of the command "ls -ld ext4_dir" is:
drwxr-xr-x 3 guest users 1024 May 23 21:24 ext4_dir/
The output of the command "umount ext4_dir" is:
umount: /home/guest/ext4_dir: umount failed: Operation not permitted
Can someone help me how can I umount as guest user?
Obs. With Slackware 14.1 and 14.2 this configuration works perfectly, I can umount as regular user without any problem.
Thanks
Carlos