Writing problem after group permission is filed

Advertisement

Masashi
Guest

Writing problem after group permission is filed

I tried to forward the file in the client to the server.
The file of the same name exists in the server, and do an overwrite of the file.
The group is the same as me though I am not an owner of the file.
The file's permission is rwxrwxrwx.
Must be able my do overwrite of this file.
However, WinSCP2.3.0 worked as follows.
[Confirm]
File "Index.htm" already exists, Overwrite?

Press[Yes]
[Confirm]
Copying file "c:\index.htm" failed
scp: /web/index.htm : set mode : Not Owner

Press[OK]
[Error]
Error listing diectory "/web/!
Unexpected directory listing Line"

Press[OK]
[WinSCP2.exe]
Assertion failed:
Terminal -> Files -> Indexof(ITEMFILE) >= 0,
file C:\Martin\Projekty\WinSCP2\components\UnixDirView.cpp, line 389

Press[OK]
[WinSCP2.exe]
Ahnormal program termination

Press[OK]

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: Writing problem after group permission is filed

Masashi wrote:

[Confirm]
Copying file "c:\index.htm" failed
scp: /web/index.htm : set mode : Not Owner
This means, that file was uploaded, but you've tried to change its mode, which is probably denied for you. Solution: uncheck "Set permissions" option on Copy confirmation dialog.

[Error]
Error listing diectory "/web/!
Unexpected directory listing Line"
Please send me a log file for this. I'm interested.

Reply with quote

Guest

Re: Writing problem after group permission is filed

This means, that file was uploaded, but you've tried to change its mode, which is probably denied for you. Solution: uncheck "Set permissions" option on Copy confirmation dialog.
I succeeded when "Set timestamp" also removed the check. Thanks.

Please send me a log file for this. I'm interested.

The following are the LOG.
@sessionlog@
< WinSCP: this is begin-of-file
. SCP remote side confirmation (0)
. Asking user:
. File 'index.htm' already exists. Overwrite? ()
. File: "C:\index.htm"
. Copying "C:\index.htm" to remote directory started.
. Ascii transfer mode selected.
> T1051235506 0 1051668384 0
. SCP remote side confirmation (0)
> C0774 17518 index.htm
. SCP remote side confirmation (0)
. Sending ASCII data (17518d bytes)
. Sending NULL.
< scp: /web/index.htm: set mode: Not owner
. SCP remote side error (1):
. Asking user:
. Copying file "C:\index.htm" failed. ("scp: /web/index.htm: set mode: Not owner")
* (EScpFileSkipped) scp: /web/index.htm: set mode: Not owner
> E
< scp: /web/index.htm: set times: Not owner
. SCP remote side error (1):
* (EScpFileSkipped) scp: /web/index.htm: set times: Not owner
. Listing current directory.
> ls -la ; echo "WinSCP: this is end-of-file:$?"
<

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: Writing problem after group permission is filed

Anonymous wrote:

The following are the LOG.
----------------------------------
The log does not include the error. You've cut it probably too early. Please try again, thanks.

Reply with quote

Masashi
Guest

Re: Writing problem after group permission is filed

The status did not change though I tried again.
I show the log window, and was looking at log.
However, after "Assertion failed:" message had been shown, log of anything was not output.
And, WinSCP2 terminates abnormally after "Abnormal program termination" message.
Version 2.2#122 did not terminate abnormally though did the same operation.

Reply with quote

Advertisement

CooLynX
Joined:
Posts:
11
Location:
Latvia

Re: Writing problem after group permission is filed

Version 2.2#122 did not terminate abnormally though did the same operation.
the same here.
i switched back to 2.2 #122 that doesn't crash...

Reply with quote

martin
Site Admin
martin avatar

Re: Writing problem after group permission is filed

Masashi wrote:

The status did not change though I tried again.
I understand that the error still occures, but I need a complete log.

Reply with quote

CooLynX
Joined:
Posts:
11
Location:
Latvia

Re: Writing problem after group permission is filed

This is the complete log. At least i don't know how to make a *more* complete. I'm not a programmer but even then i can tell by this message that the program is compiled incorrectly if it is looking for hardcored directory that does not exist:
[WinSCP2.exe]
Assertion failed:
Terminal -> Files -> Indexof(ITEMFILE) >= 0,
file C:\Martin\Projekty\WinSCP2\components\UnixDirView.cpp, line 389
Neither Masashi nor me has this directory and not even talking about UnixDirView.cpp component that WinSCP is looking for. This file should be compiled inside the program or I'm wrong?

From default logging option you can't get more than this:
. SCP remote side error (1):
* (EScpFileSkipped) scp: /home/user/public_html/images/admin.css: set times: Operation not permitted
. Listing current directory.
> ls -la ; echo "WinSCP: this is end-of-file:$?"
<
And that's it. After the program quits because it can't find the missing component.

But even from this information I would recompile the WinSCP binary file so the component UnixDirView.cpp is included and the program would stop looking for it outside and quit abnormally.

Reply with quote

martin
Site Admin
martin avatar

Re: Writing problem after group permission is filed

I quit. We totally do not understand each other :-(

To the recompilation: the error message refers to line in source code file, where an error occured.

Reply with quote

Advertisement

CooLynX
Joined:
Posts:
11
Location:
Latvia

Re: Writing problem after group permission is filed

Ok, so help me out. How to make a *complete* log file. The program can not make a log file if it quits abnormally.

P.S.
I told about recompilation idea because i had experienced similar problems with some other programms looking for some missing .dll or whatever library. So if you say it's not the case then i don't know other solution. :(

Reply with quote

martin
Site Admin
martin avatar

Re: Writing problem after group permission is filed

Please, turn on logging to file and post a content of a created file.

Reply with quote

martin
Site Admin
martin avatar

Re: Writing problem after group permission is filed

I know, but I suppose that you are wrong. Log file at least starts with header. There's no header in your post. Maybe you've copied and pasted a content of log window. Log file includes more information and it is also complete.

Reply with quote

Advertisement

You can post new topics in this forum