Re: [Samba] Mounting and Unmounting shares
Joel, Never heard of that. Where can I find out more? Eric On Sunday 02 June 2002 20:12, you wrote:
Have you looked at the postexec option? Joel
On Sun, Jun 02, 2002 at 08:16:00PM +0200, Eric wrote:
I'm running Suse 8.0, Samba 2.2.3a, and KDE 3.0
I'm trying to mount shares when a user logs in and unmount them when a user logs out.
I'm able to get them mounted ok. It's the unmount that is causing problems. Whenever another user logs on he's got the same mounts as the prior user. Everytime the original user logs in the mounts are regenerated.
In my runlevel file I"ve got smb running in levels 3 and 5. From there I put the smbmount command in my /home/.profile script. I created a .bash_logout script and put smbumount in there but that doesn't appear to be read and used.
Any ideas?
Eric
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hello, Eric. When I mount shares as a regular user, all is well. However, when I try to unmount them, it complains that it needs SUID root or to be run as the root user. Maybe this is why your script fails. Unfortunately, I have yet to delve into making smbumount SUID root since it is far from critical to me right now. Bye for now, Stuart. <snip>
In my runlevel file I"ve got smb running in levels 3 and 5. From there
I
put the smbmount command in my /home/.profile script. I created a .bash_logout script and put smbumount in there but that doesn't appear to be read and used.
Any ideas?
Eric </snip>
participants (2)
-
eric.linux@t-online.de
-
Stuart Powell