WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #15 on: February 15, 2013, 09:35:13 AM »
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, 10:27:05 AM »
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: 1217
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #17 on: February 15, 2013, 11:17:43 AM »
you're right tinypoodle, I mixed these two issues up.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: can't umount /mnt/sdb1: Operation not permitted
« Reply #18 on: February 15, 2013, 11:48:30 AM »
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.