LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2019, 11:49 AM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Slackware current - mount works, umount does not for non-root user


I have a several boxes that I'm testing Slackware current on. So far it's working quite well, I even installed the Mate desktop on one, which is also working well.

However - I found one change from Slackware 14.2. I allow non-root users to mount and umount certain shares, and I reference these shares in fstab so the non-root users can do this. It's been working fine for a very long time. The entries in fstab that let this happen have not changed in a few years.

With slackware current, mounting works, but when they umount, they get this:

umount: <mount point>: umount failed: Operation not permitted.

These shares are hosted on windows servers. If I do this with a share hosted on another linux box via smaba, it works fine. I also tried different windows shares - none of them can be umounted by the non-root user.

I have duplicated this on more than one box running Slackware current. A quick romp through Google reveals nothing.

Summary:
Non-root user cannot umount their own shares on Slackware current
fstab lines that make this work have not changed in years.
This works on Slackware 14.2
This does not work on Slackware current
This works with samba shares on linux boxes, does not work with shares on windows server

PS: One slackware-current box is using the 4.19.3 kernel. Another is using 4.20.2 kernel. Not sure that makes any difference.

Last edited by Ook; 01-16-2019 at 11:51 AM.
 
Old 01-16-2019, 02:33 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Being lazy, I keep one (non-X) console logged in as root. It sits there most of the time doing nothing but it answers these sort of issues. You can also script your unmounts and give them root perms. Or you know well it seems how to manage permissions, so, as Capt. Jean-Luc Picard has been known to say "Make it so!"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[7.3] umount says: "umount: /very/long/path (/dev/loop0) is unmounted" ? McZ Linux From Scratch 4 03-24-2013 01:29 PM
[SOLVED] sudo without password works not for mount/umount TobiSGD Linux - Security 7 12-03-2010 11:09 PM
[SOLVED] DBD::ODBC works as root but not as non-root user on CentOS5 - any ideas? prgupta Red Hat 2 07-13-2010 12:20 AM
[SOLVED] sudo: umount works, mount not works sasser Slackware 3 07-09-2010 03:01 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration