LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2003, 10:21 PM   #1
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Samba: User can mount, but not unmount


As the title says, I have a folder in my home dir named website. The entry for it in the fstab is as follows:
Code:
//server/website /home/wynd/mnt/website smbfs noauto,user,username=<user> 0 0
I can mount it as a regular user by typing 'mount mnt/website', and I can use it fine, but when i want to unmount it using 'umount mnt/website', it tells me "only root can do that" and i have to use smbumount to unmount it. Why would it allow me to do one thing but not the other?
 
Old 09-23-2003, 01:55 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
Hmmm... Sounds like a permissions problem, eh?

(This fixes the zero replies to your thread and maybe get you some more repsonses.)

good luck...
 
Old 09-23-2003, 07:31 AM   #3
keex
Member
 
Registered: Jun 2002
Location: Berlin / Germay
Distribution: gentoo linux, ubuntu
Posts: 40

Rep: Reputation: 17
you could set the SUID bit for smbumount
OR
"chmod 777 /home/wynd/mnt/website"
OR
"sudo /sbin/umount /home/wynd/mnt/website"

where sudo has to configured like
%users localhost=/sbin/mount -t smbfs //server/website /home/wynd/mnt/website, /sbin/umount /home/wynd/mnt/website

hth
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mount and unmount Hargibi Linux - Software 9 09-26-2005 08:11 AM
mount and unmount d1l2w3 Linux - Hardware 4 05-15-2005 08:32 AM
Samba mount, user/group IDs fennec Linux - Networking 0 08-22-2004 03:54 PM
mount / unmount Lostman Linux - Newbie 3 11-09-2003 01:15 AM
mount - unmount? randon Red Hat 3 10-10-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:44 AM.

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