Kyle VanderBeek <[EMAIL PROTECTED]> writes: > I do have to say that the "swallow all chown errors" fix might not be > the right way to go about it; it seems like you're asking for a silent > error sometime down the road. But I'm not going to tell you how to do > things.
It might look rude, but what else but "chown" one can use on Win32? I could clean the code like this: (when (executable-find "chown") (call-process "chown" nil nil nil (format "%d:%d" uid gid) (tramp-shell-quote-argument filename))) But the result would be the same. With `condition-case' I simply trap the error `call-process' raises in this situation, see the doc string: "If executable PROGRAM can't be found as an executable, `call-process' signals a Lisp error." Other Lisp errors are not raised by `call-process'; execution problems could be checked by the result of `call-process', which is the return code of the process execution. > Thank you again! You made my day. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
