"A call to an OS function failed" -when editing file in root

Advertisement

rojer_31
Joined:
Posts:
2
Location:
Isha

"A call to an OS function failed" -when editing file in root

We recently setup chrooting in our server using the feature in native openssh 5.3.

The issue is that when a user who has been chrooted logs in, he cannot edit any file in the site root (which is his user root). A non-chrooted user can edit the same file without issue. The chrooted user can even copy the file to his system without issue, but when he attempts to edit the file the error:
"A call to an OS function failed" happens. I'm almost certain this error is because the temporary path that winscp attempts to copy the file contains "\\".
This happens for all files in the root dir, regardless of type.

Screenshot:
<invalid hyperlink removed by admin>

Let me know if you need more details. And thanks for a great proggy!

PS. When you get a chance please make the close button on the connecting dialog actually respond to a click :)

Reply with quote

Advertisement

syneticon-dj
Guest

Re: "A call to an OS function failed" -when editing file in root

martin wrote:

I've sent you an email.

Mark, a similar issue has been raised at ServerFault as well. If you do happen to have a solution or hints how to troubleshoot the problem, please contribute and make this information public.

Regards,

Denis

Reply with quote

Advertisement

You can post new topics in this forum