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

martin

Re: scp copy fails when overwritting

Please post a log file, I'm interested in the directory reading error.

To avoid "Operation not permitted" error, uncheck "set permissions" on upload confirmation dialog.

Or use SFTP instead of SCP.
altp

scp copy fails when overwritting

When trying to over write a file, using the scp protocol, that you are not the owner of the copy dies with "Operation Not Permitted" when it tries to set the mode. Once this error occures it begins giving errors about reading the directory.

The user has permissions to the file. The work around is to first delete the file and then upload it again. Which is annoying.

Normal scp from a unix commandline overwrites the file as expected for that user.

Changing the ownership of the file to that user before uploading also fixes that problem.

To fix the directory errors, the user has to reconnect tot he server.