Group permissions problem-overwriting files
Any ideas? Is there a bug in WinSCP that doesn't support/recognize group permissions? The error message we get is:
Thanks for your help. 8)/path/to/file/name/here: set times: Operation not permitted
Advertisement
Thanks for your help. 8)/path/to/file/name/here: set times: Operation not permitted
Advertisement
Thanks,Copying 1 files/directories to remote directory "/var/www/websites/downloads/"
PrTime: No; PrRO: Yes; Rght: rw-r--r--; PrR: No
FnCs: N; TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
echo "WinSCP: this is begin-of-file" ; scp -r -d -t "/var/www/websites/downloads" ; echo "WinSCP: this is end-of-file:$?"
WinSCP: this is begin-of-file
SCP remote side confirmation (0)
Asking user:
File 'style.css' already exists. Overwrite? ()
File: "C:\Documents and Settings\My Documents\style.css"
Copying "C:\Documents and Settings\My Documents\style.css" to remote directory started.
Ascii transfer mode selected.
C0644 723 style.css
scp: /var/www/websites/downloads/style.css: Permission denied
SCP remote side error (1):
Asking user:
Copying file "C:\Documents and Settings\My Documents\style.css" failed. ("scp: /var/www/websites/downloads/style.css: Permission denied")
E
SCP remote side confirmation (0)
WinSCP: this is end-of-file:1
Sorry, I have no clue for you. If you find anything, please let me know.But, I also am having the same issue with groups and run Redhat 8.0 so, I'm wondering if it has to do with redhat. The only way I can scp files is to delete/rename the file(in winscp) then scp the file up and that works for my users. If i find a resolution I will post it
the same operation with LeapFTP does not have a problem. ie. I can delete/rename/move a file as long as group permissions are set. With WinSCP I can only delete/rename/move a file if I log in as the file's owner, irregardless of permissions.. Renaming file "intro.txt" to "intro2.txt".
> mv -f "intro.txt" "intro2.txt" ; echo "WinSCP: this is end-of-file:$status"
! mv: rename intro.txt to intro2.txt: Permission denied
< WinSCP: this is end-of-file:1
* (ECommand) Error renaming file 'intro.txt' to 'intro2.txt'.
Advertisement
but file is written OK.Permission denied.
Error code: 3
Error message from server: syserr: Not owner, file: /users/aburnsid/testc (en)
Request code: 9
I'm thinking so, and I don't think it's a RedHat issue. In my case, the server is a debian machine, and my friend and I are running winscp on Win2k and WinXP boxes. We are seeing the same error as everyone else here. Unchecking the 'preserve timestamps' option means that we can transfer the files, but we still get the "copying files to remote side failed" error dialog (even though the transfer actually succeeded).Any ideas? Is there a bug in WinSCP that doesn't support/recognize group permissions?
Can you post a log file? In my opinion, WinSCP reports back only, what it receives from server. If server sends back an error, when it successfuly uploaded file, what I can do?I'm thinking so, and I don't think it's a RedHat issue. In my case, the server is a debian machine, and my friend and I are running winscp on Win2k and WinXP boxes. We are seeing the same error as everyone else here. Unchecking the 'preserve timestamps' option means that we can transfer the files, but we still get the "copying files to remote side failed" error dialog (even though the transfer actually succeeded).
Chalk that one up on the bug list, I think...
Advertisement
posting a log file will not help remembering last times when there was a log file but no respnonse.Can you post a log file? In my opinion, WinSCP reports back only, what it receives from server. If server sends back an error, when it successfuly uploaded file, what I can do?
I do not ignore this. You refer two two problems.btw, why are you ignoring this bug. is it so hard to make the programm work like it was in previous versions where this was working fine?
Advertisement
You can post new topics in this forum