WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: can't umount /mnt/sdb1: Operation not permitted  (Read 28702 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #15 on: February 15, 2013, 12:35:13 PM »
Then you would still be able to use something like mount -o users, no?
At least that's my interpretation after many years of mounting stuff.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #16 on: February 15, 2013, 01:27:05 PM »
Is your issue with the permissions of 'mount' or with the mechanism permissions of busybox applets are handled?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #17 on: February 15, 2013, 02:17:43 PM »
you're right tinypoodle, I mixed these two issues up.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #18 on: February 15, 2013, 02:48:30 PM »
I have the same problem with umount.  I have found the cause of the issue:  spurious group write permission on /etc/busybox.conf

~$ ls -l /etc/busybox.conf
-rw--w----    1 root     staff          140 Mar  4  2010 /etc/busybox.conf
~$ umount /mnt/sda3
umount: can't umount /mnt/sda3: Operation not permitted
~$ sudo chmod g-w /etc/busybox.conf
~$ ls -l /etc/busybox.conf
-rw-------    1 root     staff          140 Mar  4  2010 /etc/busybox.conf
~$ umount /mnt/sda3
~$

I propose to correct this in next version
+1 on the Good Catch.
Applied to 4.7.5
10+ Years Contributing to Linux Open Source Projects.