Permission change without checked option

Advertisement

Mikol
Guest

Permission change without checked option

Hi,

I have an issue with permissions for file uploaded to my server. I don't want permissions to be set by WinSCP (change permission checkbox not checked in transfer settings) but after file creation or file upload, WinSCP set permissions with permissions defined in the transfer dialog properties.

Example: I open transfer settings, check change permission, set rwxrwx---, uncheck change permission, I create a file, the new file has rwxrwx--- permissions. I open transfert settings, check change permission, set ---------, uncheck change permission, I create a file, the new file has --------- permissions.

I'm using the last WinSCP version (5.1.0) but my issue was already there with the 4.3.9 version.
I'm using Windows 7 Pro in 32b, with SCP protocol in GUI explorer mode.

Regards,

Mickael

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Permission change without checked option

How do you create the file? Creating local file and uploading it or using Files > New > File command?

Please attach a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl

Reply with quote

Mikol
Guest

Hello,

thanks for your answer.

Please find attached, log file with detailed information.

I made server connect, file "fichier_test" creation (with the popup menu, new and file), and the result is "---------" permissions with the change permission unchecked.

Thanks,

Mickael.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

WinSCP correctly did not use the -p switch of scp, so your server should not set the permissions.
scp -r  -d -t "/home/lacostem/test_winscp"    

_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum