Topic "Writing problem after group permission is filed"

Author Message
Masashi

Guest


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]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
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.

Quote:
[Error]
Error listing diectory "/web/!
Unexpected directory listing Line"

Please send me a log file for this. I'm interested.
_________________
Martin Prikryl
Guest




Quote:
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.

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


The following are the LOG.
----------------------------------

< 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:$?"
<
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Masashi

Guest


Quote:
The log does not include the error. You've cut it probably too early. Please try again, thanks.


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 "Ahnormal program termination" message.
Version 2.2#122 did not terminate abnormally though did the same operation.
CooLynX
[View user's profile]

Joined: 2003-02-10
Posts: 11
Location: Latvia
Quote:
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...
_________________
who cares anyway
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Masashi wrote:
The status did not change though I tried again.

I understand that the error still occures, but I need a complete log.
_________________
Martin Prikryl
CooLynX
[View user's profile]

Joined: 2003-02-10
Posts: 11
Location: Latvia
prikryl wrote:

I understand that the error still occures, but I need a complete log.


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 programm 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.
_________________
who cares anyway
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
I quit. We totally do not understand each other Sad

To the recompilation: the error message refers to line in source code file, where an error occured.
_________________
Martin Prikryl
CooLynX
[View user's profile]

Joined: 2003-02-10
Posts: 11
Location: Latvia
prikryl wrote:
I quit. We totally do not understand each other Sad

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


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. Sad
_________________
who cares anyway
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
CooLynX wrote:
Ok, so help me out. How to make a *complete* log file. The program can not make a log file if it quits abnormally.

Please, turn on logging to file and post a content of a created file.
_________________
Martin Prikryl
CooLynX
[View user's profile]

Joined: 2003-02-10
Posts: 11
Location: Latvia
prikryl wrote:
CooLynX wrote:
Ok, so help me out. How to make a *complete* log file. The program can not make a log file if it quits abnormally.

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

I allready explained above. There are nothing more in this log file. As I explained above.
_________________
who cares anyway
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
CooLynX wrote:
I allready explained above. There are nothing more in this log file. As I explained above.

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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License