View previous topic :: View next topic |
Author |
Message |
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Tue Jun 04, 2002 3:13 am Post subject: Samba Mounting Issues |
|
|
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 |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Tue Jun 04, 2002 10:48 pm Post subject: |
|
|
*bumping this back up to the top if the list* |
|
Back to top |
|
|
Vlad Apprentice
Joined: 09 Apr 2002 Posts: 264 Location: San Diego, California
|
Posted: Wed Jun 05, 2002 9:24 pm Post subject: |
|
|
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 |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Thu Jun 06, 2002 1:16 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|