Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Thanks. Can you please do the same on Debug 1 level? You can email the log to me, instead of posting it.
lodixon

(Subbed out file names, less distracting)

This is a transfer that doesn't set the setgid bit

. 2011-05-24 09:30:38.227 Copying 1 files/directories to remote directory "#####"
. 2011-05-24 09:30:38.227 PrTime: Yes; PrRO: No; Rght: rw-rwS---; PrR: Yes (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2011-05-24 09:30:38.227 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2011-05-24 09:30:38.227 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2011-05-24 09:30:38.227 File: "#####"
. 2011-05-24 09:30:38.229 Trying to open directory "#####".
> 2011-05-24 09:30:38.229 Type: SSH_FXP_LSTAT, Size: 33, Number: 7687
< 2011-05-24 09:30:38.229 Type: SSH_FXP_STATUS, Size: 24, Number: 7428
. 2011-05-24 09:30:38.229 Discarding reserved response
< 2011-05-24 09:30:38.233 Type: SSH_FXP_STATUS, Size: 29, Number: 7687
< 2011-05-24 09:30:38.233 Status code: 2, Message: 7687, Server: No such file, Language:
. 2011-05-24 09:30:38.234 Creating directory "#####".
. 2011-05-24 09:30:38.234 Canonifying: "#####"
. 2011-05-24 09:30:38.234 Getting real path for '#####'
> 2011-05-24 09:30:38.234 Type: SSH_FXP_REALPATH, Size: 33, Number: 8208
< 2011-05-24 09:30:38.234 Type: SSH_FXP_STATUS, Size: 29, Number: 8208
< 2011-05-24 09:30:38.234 Status code: 2, Message: 8208, Server: No such file, Language:
. 2011-05-24 09:30:38.234 Getting real path for '#####'
> 2011-05-24 09:30:38.234 Type: SSH_FXP_REALPATH, Size: 28, Number: 8464
< 2011-05-24 09:30:38.235 Type: SSH_FXP_NAME, Size: 57, Number: 8464
. 2011-05-24 09:30:38.235 Real path is '#####'
. 2011-05-24 09:30:38.235 Canonified: "#####"
> 2011-05-24 09:30:38.235 Type: SSH_FXP_MKDIR, Size: 36, Number: 7950
< 2011-05-24 09:30:38.236 Type: SSH_FXP_STATUS, Size: 24, Number: 7950
< 2011-05-24 09:30:38.236 Status code: 0
> 2011-05-24 09:30:38.236 Type: SSH_FXP_LSTAT, Size: 33, Number: 8711
< 2011-05-24 09:30:38.236 Type: SSH_FXP_ATTRS, Size: 37, Number: 8711
> 2011-05-24 09:30:38.236 Type: SSH_FXP_SETSTAT, Size: 41, Number: 8969
< 2011-05-24 09:30:38.237 Type: SSH_FXP_STATUS, Size: 24, Number: 8969
< 2011-05-24 09:30:38.237 Status code: 0
. 2011-05-24 09:30:38.237 File: "#####"
. 2011-05-24 09:30:38.239 Copying "#####" to remote directory started.
. 2011-05-24 09:30:38.239 Binary transfer mode selected.
. 2011-05-24 09:30:38.240 Opening remote file.
> 2011-05-24 09:30:38.240 Type: SSH_FXP_OPEN, Size: 86, Number: 9219
< 2011-05-24 09:30:38.241 Type: SSH_FXP_HANDLE, Size: 13, Number: 9219
> 2011-05-24 09:30:38.241 Type: SSH_FXP_WRITE, Size: 4121, Number: 9734
. 2011-05-24 09:30:38.484 123 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-05-24 09:30:38.484 Type: SSH_FXP_CLOSE, Size: 13, Number: 25860
< 2011-05-24 09:30:38.518 Type: SSH_FXP_STATUS, Size: 24, Number: 25350
< 2011-05-24 09:30:38.518 Type: SSH_FXP_STATUS, Size: 24, Number: 25606
< 2011-05-24 09:30:38.518 Type: SSH_FXP_STATUS, Size: 24, Number: 25860
< 2011-05-24 09:30:38.518 Status code: 0
> 2011-05-24 09:30:38.518 Type: SSH_FXP_RENAME, Size: 126, Number: 26130
< 2011-05-24 09:30:38.519 Type: SSH_FXP_STATUS, Size: 24, Number: 26130
< 2011-05-24 09:30:38.519 Status code: 0
> 2011-05-24 09:30:38.519 Type: SSH_FXP_SETSTAT, Size: 77, Number: 9481
< 2011-05-24 09:30:38.520 Type: SSH_FXP_STATUS, Size: 24, Number: 9481
< 2011-05-24 09:30:38.520 Status code: 0
. 2011-05-24 09:30:38.520 Listing directory "#####".
> 2011-05-24 09:30:38.520 Type: SSH_FXP_OPENDIR, Size: 27, Number: 26379
< 2011-05-24 09:30:38.550 Type: SSH_FXP_HANDLE, Size: 13, Number: 26379
> 2011-05-24 09:30:38.551 Type: SSH_FXP_READDIR, Size: 13, Number: 26636
< 2011-05-24 09:30:38.551 Type: SSH_FXP_NAME, Size: 311, Number: 26636
> 2011-05-24 09:30:38.552 Type: SSH_FXP_READDIR, Size: 13, Number: 26892
< 2011-05-24 09:30:38.553 Type: SSH_FXP_STATUS, Size: 28, Number: 26892
< 2011-05-24 09:30:38.553 Status code: 1
> 2011-05-24 09:30:38.553 Type: SSH_FXP_CLOSE, Size: 13, Number: 27140


And this is a transfer after I've viewed the transfer preferences (Changed nothing)

. 2011-05-24 09:32:22.719 Copying 1 files/directories to remote directory "#####"
. 2011-05-24 09:32:22.719 PrTime: Yes; PrRO: No; Rght: rw-rwS---; PrR: Yes (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2011-05-24 09:32:22.719 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2011-05-24 09:32:22.719 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2011-05-24 09:32:22.720 File: "#####"
. 2011-05-24 09:32:22.723 Trying to open directory "#####".
> 2011-05-24 09:32:22.723 Type: SSH_FXP_LSTAT, Size: 33, Number: 29959
< 2011-05-24 09:32:22.723 Type: SSH_FXP_STATUS, Size: 24, Number: 29700
. 2011-05-24 09:32:22.723 Discarding reserved response
< 2011-05-24 09:32:22.755 Type: SSH_FXP_STATUS, Size: 29, Number: 29959
< 2011-05-24 09:32:22.755 Status code: 2, Message: 29959, Server: No such file, Language:
. 2011-05-24 09:32:22.755 Creating directory "#####".
. 2011-05-24 09:32:22.755 Canonifying: "#####"
. 2011-05-24 09:32:22.755 Getting real path for '#####'
> 2011-05-24 09:32:22.755 Type: SSH_FXP_REALPATH, Size: 33, Number: 30480
< 2011-05-24 09:32:22.756 Type: SSH_FXP_STATUS, Size: 29, Number: 30480
< 2011-05-24 09:32:22.756 Status code: 2, Message: 30480, Server: No such file, Language:
. 2011-05-24 09:32:22.756 Getting real path for '#####'
> 2011-05-24 09:32:22.756 Type: SSH_FXP_REALPATH, Size: 28, Number: 30736
< 2011-05-24 09:32:22.757 Type: SSH_FXP_NAME, Size: 57, Number: 30736
. 2011-05-24 09:32:22.757 Real path is '#####'
. 2011-05-24 09:32:22.757 Canonified: "#####"
> 2011-05-24 09:32:22.757 Type: SSH_FXP_MKDIR, Size: 36, Number: 30222
< 2011-05-24 09:32:22.757 Type: SSH_FXP_STATUS, Size: 24, Number: 30222
< 2011-05-24 09:32:22.757 Status code: 0
> 2011-05-24 09:32:22.758 Type: SSH_FXP_LSTAT, Size: 33, Number: 30983
< 2011-05-24 09:32:22.758 Type: SSH_FXP_ATTRS, Size: 37, Number: 30983
> 2011-05-24 09:32:22.758 Type: SSH_FXP_SETSTAT, Size: 41, Number: 31241
< 2011-05-24 09:32:22.759 Type: SSH_FXP_STATUS, Size: 24, Number: 31241
< 2011-05-24 09:32:22.759 Status code: 0
. 2011-05-24 09:32:22.759 File: "#####"
. 2011-05-24 09:32:22.760 Copying "#####" to remote directory started.
. 2011-05-24 09:32:22.760 Binary transfer mode selected.
. 2011-05-24 09:32:22.761 Opening remote file.
> 2011-05-24 09:32:22.762 Type: SSH_FXP_OPEN, Size: 86, Number: 31491
< 2011-05-24 09:32:22.762 Type: SSH_FXP_HANDLE, Size: 13, Number: 31491
> 2011-05-24 09:32:22.762 Type: SSH_FXP_WRITE, Size: 4121, Number: 32006
. 2011-05-24 09:32:23.009 107 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-05-24 09:32:23.009 Type: SSH_FXP_CLOSE, Size: 13, Number: 46852
< 2011-05-24 09:32:23.009 Type: SSH_FXP_STATUS, Size: 24, Number: 44806
< 2011-05-24 09:32:23.009 Status code: 0
< 2011-05-24 09:32:23.011 Type: SSH_FXP_STATUS, Size: 24, Number: 45062
< 2011-05-24 09:32:23.015 Type: SSH_FXP_STATUS, Size: 24, Number: 45318
< 2011-05-24 09:32:23.018 Type: SSH_FXP_STATUS, Size: 24, Number: 45574
< 2011-05-24 09:32:23.021 Type: SSH_FXP_STATUS, Size: 24, Number: 45830
< 2011-05-24 09:32:23.024 Type: SSH_FXP_STATUS, Size: 24, Number: 46086
< 2011-05-24 09:32:23.027 Type: SSH_FXP_STATUS, Size: 24, Number: 46342
< 2011-05-24 09:32:23.028 Type: SSH_FXP_STATUS, Size: 24, Number: 46598
< 2011-05-24 09:32:23.028 Type: SSH_FXP_STATUS, Size: 24, Number: 46852
< 2011-05-24 09:32:23.028 Status code: 0
> 2011-05-24 09:32:23.028 Type: SSH_FXP_RENAME, Size: 126, Number: 47122
< 2011-05-24 09:32:23.029 Type: SSH_FXP_STATUS, Size: 24, Number: 47122
< 2011-05-24 09:32:23.029 Status code: 0
> 2011-05-24 09:32:23.029 Type: SSH_FXP_SETSTAT, Size: 77, Number: 31753
< 2011-05-24 09:32:23.030 Type: SSH_FXP_STATUS, Size: 24, Number: 31753
< 2011-05-24 09:32:23.030 Status code: 0
. 2011-05-24 09:32:23.030 Listing directory "#####".
> 2011-05-24 09:32:23.031 Type: SSH_FXP_OPENDIR, Size: 27, Number: 47371
< 2011-05-24 09:32:23.031 Type: SSH_FXP_HANDLE, Size: 13, Number: 47371
> 2011-05-24 09:32:23.032 Type: SSH_FXP_READDIR, Size: 13, Number: 47628
< 2011-05-24 09:32:23.034 Type: SSH_FXP_NAME, Size: 311, Number: 47628
> 2011-05-24 09:32:23.035 Type: SSH_FXP_READDIR, Size: 13, Number: 47884
< 2011-05-24 09:32:23.035 Type: SSH_FXP_STATUS, Size: 28, Number: 47884
< 2011-05-24 09:32:23.036 Status code: 1
> 2011-05-24 09:32:23.036 Type: SSH_FXP_CLOSE, Size: 13, Number: 48132


They look fairly similar, but the second one has a few extra lines in it. Does this help at all?
martin

Re: Set GID bit is not set on folders after restart

I believe it is actually a server-side issue. But you can post a log file anyway (showing upload of a single file only).
lodixon

Set GID bit is not set on folders after restart

I'm using the latest version of WinSCP, 4.3.2, on Windows 7 32-bit

I'd like all files and folders to be uploaded with 2660 permissions as a default. I've set that as an option in the Transfer settings dialog.

When I first load an instance of WinSCP, with a saved session with that option set, and I attempt to copy a folder from my system to the remote system, the copy dialog that comes up even indicates that it is setting the permissions rw-rwS---.

Only it sets the folders rwxrwx--- (I append the +X for folders). Strange thing is, after I open up the preferences window, even if I don't change anything, and press 'OK', the folders are uploaded with the correct permissions.

This really doesn't seem like an issue with my remote system, but I can provide you with specifications if that would make a difference.