Topic "User can't overwrite file despite group 'w' permissions"

Author Message
jmroderick
[View user's profile]

Joined: 2010-02-16
Posts: 2
Location: London
I have a user who is trying to transfer a file from a Windows share to a Linux filesystem and even though they have write permissions on the file via group membership, they receive the following error:

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 9

Another user with exactly the same permissions (same group memberships etc) has no trouble overwriting the file via WinSCP.

I'm stumped at the moment - any ideas?

Thanks[/img]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Can you post a full error message? Or even a log file?
_________________
Martin Prikryl
jmroderick
[View user's profile]

Joined: 2010-02-16
Posts: 2
Location: London
HI

Here's an extract from the log file:

Quote:
< 2010-02-15 13:34:00.987 Type: SSH_FXP_STATUS, Size: 34, Number: 9225
< 2010-02-15 13:34:00.987 Status/error code: 3, Message: 9225, Server: Permission denied, Language:
* 2010-02-15 13:34:00.987 (ETerminal) Permission denied.
* 2010-02-15 13:34:00.987 Error code: 3
* 2010-02-15 13:34:00.987 Error message from server: Permission denied
* 2010-02-15 13:34:00.987 Request code: 9
. 2010-02-15 13:34:00.987 Asking user:
. 2010-02-15 13:34:00.987 Upload of file 'MC_SR_Detail.csv' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option. ("Permission denied.
. 2010-02-15 13:34:00.987 Error code: 3
. 2010-02-15 13:34:00.987 Error message from server: Permission denied
. 2010-02-15 13:34:00.987 Request code: 9")
* 2010-02-15 13:35:12.440 (EScpSkipFile) Upload of file 'MC_SR_Detail.csv' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.
* 2010-02-15 13:35:12.440 Permission denied.
* 2010-02-15 13:35:12.440 Error code: 3
* 2010-02-15 13:35:12.440 Error message from server: Permission denied
* 2010-02-15 13:35:12.440 Request code: 9


The user tells me that other members of their team, with (it appears) the same permissions, are able to overwrite the same file without any problems.

Thanks

Jon
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
normk

Guest


In my case, I had "Preserve timestamp" checked but not "Set permissions." By unchecking timestamp, it solved my problem and updated the file while preserving the group and owner. It seems that this combination is a little misleading since enabling Preserve timestamp also has the effect of overwriting the file with the new user in owner and group even though Set Permissions is not checked. In any case, your instructions worked for me. Just wanted to point out that the settings are a little misleading from my observation when editing a file with the built-in winscp text editor and saving it as someone who is not the current owner but is in the current group of the file.

prikryl wrote:
Please read FAQ. If that does not help, come back.
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