Ignore "set mode" errors?

Advertisement

RevBob
Joined:
Posts:
4
Location:
Installed in the web

Ignore "set mode" errors?

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...

Reply with quote

Advertisement

RevBob

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
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?

Reply with quote

RevBob
Joined:
Posts:
4
Location:
Installed in the web

martin 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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
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.

Reply with quote

Advertisement

You can post new topics in this forum