-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ron Eggler wrote:
On Saturday 06 October 2007 01:25:29 am G T Smith wrote:
Ron Eggler wrote:
On Friday 05 October 2007 01:51:10 am G T Smith wrote: [snip]
<snip>
umount.cifs as you have on mount.cifs. But I have set both with"sudo chmod +s /sbin/umount.cifs" I don't know what else i can do, i'm getting desperate :( Thanks for your help! a) Have you checked the suid has actually been set... b) the info entry on chmod documents the possibility of using u+s rather than +s... (setting suids is something I do rarely)
They are the same, aren't they?
reg@desktop-reg:~> ls -n /sbin/umount.cifs -rwsr-sr-x 1 0 0 14416 2007-06-29 04:51 /sbin/umount.cifs reg@desktop-reg:~> ls -n /sbin/mount.cifs -rwsr-sr-x 1 0 0 22928 2007-06-29 04:51 /sbin/mount.cifs Thanks for any further help!
What I'm trying to do by the way is: Get my cifs mounts umounted before my server gets shutdown and i shoutdown my server with a "shutdown" command in my ~/,kde/shutdown directory. I've tried shutting it down with a "S" init script in /etc/init.d/rc5.d or /etc/init.d/rc0.d but this didn't work fine so i decided to do it the KDE way. Now before executing the shutdown command for my server i want to umount the shares (and since I'm a user at this time, i need to be able to umount em as user).
Thanks for help or suggestions.
My first question is why do this? The funny thing about cifs is this kind of event is supposed to be handled anyway. Provided you are not actually modifying something on the cifs mount when the server end shuts down you should not get too many problems. While the server is down you will get complaints about unavailable resources, but when the server comes back you should not notice it has been away (at least in theory, in practice this can be a different story :-) ). - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHCKQMasN0sSnLmgIRAsfnAJ9RJu0ZP6Rhv4wQu898jy19UK+zZwCg8Gn0 0ScG0sQ5pW8BphjFk35EIKA= =J13m -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org