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

teixa

Re: Overwriting files with 660 permissions - new issue

martin wrote:

What about using SFTP? I do not think you can grant the users permissions to chmod.


Yes, using SFTP solved my problem. "Ignore permission erros" works now.

Thank you.
martin

Re: Overwriting files with 660 permissions - new issue

teixa wrote:

Are my only solutions getting them to disregard the Error message or trying to give their user permissions to chmod? I could I to this? I have access to the server config...

What about using SFTP? I do not think you can grant the users permissions to chmod.
teixa

Re: Overwriting files with 660 permissions - new issue

Hi and thanks for your reply.

martin wrote:

The error message is more general as with SCP, WinSCP is not able to distinguish this particular problem. Also with SCP the "Ignore permissions errors" is not working (for the same reason). The option should be disabled with SCP.


Done.

martin wrote:

Note that you need to turn off also "Preserve timestamp" option to overcome this.


The thing is I need to turn of "Preserve timestamp" and "set permissions". But this way, the user has to constantly change the options when he wants to overwrite, because when creating new files, the permission must be 660. Since these are users that aren't very familiar with such things, this can't be.

Are my only solutions getting them to disregard the Error message or trying to give their user permissions to chmod? I could I to this? I have access to the server config...

Take care
martin

Re: Overwriting files with 660 permissions - new issue

The error message is more general as with SCP, WinSCP is not able to distinguish this particular problem. Also with SCP the "Ignore permissions errors" is not working (for the same reason). The option should be disabled with SCP.

Note that you need to turn off also "Preserve timestamp" option to overcome this.
teixa

Overwriting files with 660 permissions - new issue

Hi,

I was going to file this as a new bug, but then I found this in the FAQ:

"I need to overwrite a remote file that isn't owned by me, but I'm
member of its group. The file has write permission for group. After
transfer I get a message like 'Upload of file <filename> was successful,
but error occurred while setting the permissions and/or timestamp'"

"While copying files such as this, you need to turn off Set permissions
and Preserve timestamp options or turn on Ignore permission errors"

This almost describes my problem exactly, the thing is the error message
I get is different:

"Copying file <file> failed."

The file gets transfered anyway. My problem is that the second solution
in the FAQ - "turn on Ignore permission errors" - doesn't solve the
problem. This may have something to do with the fact that the error
message isn't really a permissions message, but it should be.

I'm using WinSCP 4.0.5, protocol SCP, Norton commander style.

Thank you.

Bruno Teixeira