Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba Mounting Issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Tue Jun 04, 2002 3:13 am    Post subject: Samba Mounting Issues Reply with quote

Sometime in the last day, I updated a package (not sure which one, I did --update world) and it seems to have half-broken smbfs mounts. I have my /etc/fstab set up with the following lines for my samba mounts:
Code:

//helium/mthmarketing  /mnt/mthmarketing  smbfs  noauto,noatime,user,username=fakeuser,password=fakepassword,uid=100  1 1
//helium/includes      /mnt/includes      smbfs  noauto,noatime,user,username=fakeuser,password=fakepassword,uid=100  1 1
//helium/sites         /mnt/sites         smbfs  noauto,noatime,user,username=fakeuser,password=fakepassword,uid=100  1 1                                             

Mounting them as a nonroot user works fine. However, when I attempt to unmount them, it says that only a root user can do that, and when I look at my /etc/mtab, this is what I see:
Code:

//helium/includes /mnt/includes smbfs  0 0
//helium/mthmarketing /mnt/mthmarketing smbfs  0 0

Any ideas?
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Tue Jun 04, 2002 10:48 pm    Post subject: Reply with quote

*bumping this back up to the top if the list*
Back to top
View user's profile Send private message
Vlad
Apprentice
Apprentice


Joined: 09 Apr 2002
Posts: 264
Location: San Diego, California

PostPosted: Wed Jun 05, 2002 9:24 pm    Post subject: Reply with quote

I'm not positive, but I think you have to change the "user" option to "users".

From the mount manual file:
Code:

              user   Allow an ordinary user  to  mount  the  file
                     system.   The  name  of the mounting user is
                     written to mtab so that he can  unmount  the
                     file  system again.  This option implies the
                     options noexec, nosuid,  and  nodev  (unless
                     overridden  by subsequent options, as in the
                     option line user,exec,dev,suid).

              users  Allow every user to mount  and  unmount  the
                     file   system.    This  option  implies  the
                     options noexec, nosuid,  and  nodev  (unless
                     overridden  by subsequent options, as in the
                     option line users,exec,dev,suid).
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Thu Jun 06, 2002 1:16 am    Post subject: Reply with quote

I disagree. The user option should work. What's happening is that it isn't writing the users id to the mtab file, so it doesn't think I can unmount it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum