On Sunday 07 October 2007 02:17:00 am G T Smith wrote:
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.
So you're saying that when i copy files on my cifs share it finishes up the whole copy process as soon as my server system gets shutdown, right? I'm referring to file transfers on USB sticks where the stick gets pulled out of the USB slot without umounting and when plugging it back in, you realize that the files aren't there because the sync (copy) wasn't finished. Or should i just execute a "sync" before executing the remote shutting command, would this help? Thanks lots! Ron -- chEErs Ron -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org