Topic "Permission change without checked option"

Author Message
Mikol

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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
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.
fichier_test creation.log (152.23 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
WinSCP correctly did not use the -p switch of scp, so your server should not set the permissions.
Code:
scp -r  -d -t "/home/lacostem/test_winscp"

_________________
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