Topic "Ignore "set mode" errors?"

Author Message
RevBob
[View user's profile]

Joined: 2012-04-30
Posts: 4
Location: Installed in the web
I frequently find myself uploading many files across multiple folders, several of which are owned by others but maintained by a small team (including myself). I also have my upload settings configured to set certain permissions, allowing full group/owner access to the files. This results in many spurious errors when WinSCP attempts to set permissions that are already in place...which can result in real errors getting buried.

Is there any way to suppress "false errors" of this nature without suppressing all errors?

I'd also like to be able to set the group for new files that I upload, but that's another issue...
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Try to set Ignore permission errors:
https://winscp.net/eng/docs/ui_transfer_custom#upload_options
_________________
Martin Prikryl
RevBob
[View user's profile]

Joined: 2012-04-30
Posts: 4
Location: Installed in the web
That was the first thing I tried, but it ignored all permission errors - including serious cases where the permissions prohibited one of the files from uploading. So I'm left with either crossing my fingers and hoping everything went okay, or having to wade through a ton of bogus "set mode denied" errors just in case there's a "permission denied" mixed in there somewhere.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
RevBob wrote:
That was the first thing I tried, but it ignored all permission errors - including serious cases where the permissions prohibited one of the files from uploading. So I'm left with either crossing my fingers and hoping everything went okay, or having to wade through a ton of bogus "set mode denied" errors just in case there's a "permission denied" mixed in there somewhere.

That should not be the case. Can you post a log file showing upload overwritting one file that you do not own with the Ignore permissions error turned on?
_________________
Martin Prikryl
RevBob
[View user's profile]

Joined: 2012-04-30
Posts: 4
Location: Installed in the web
prikryl wrote:
That should not be the case. Can you post a log file showing upload overwritting one file that you do not own with the Ignore permissions error turned on?

First of all, please excuse my mistaken recollection; I've been living with this bug for a while now. Checking "Ignore permissions error" does not cause all "set mode" and "denied" errors to be suppressed. Rather, it does nothing either way; the "set mode" error comes through whether that box is checked or not, just as "denied" does.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please post 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
RevBob
[View user's profile]

Joined: 2012-04-30
Posts: 4
Location: Installed in the web
Log emailed.

[Edit: Please ignore the first version in favor of the shorter second log.]
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