Topic "Group write permissions set, but warned that no write access"

Author Message


Hi there. Here is the scenario for this problem:

- A linux user exists and is identified by `user123` and is part of the group `apache`

- A file exists called /myfile and is owned by apache.apache and has the permissions set to 660 (user r/w, group r/w, nobody noaccess).

Now follow these steps:

1. Login as `user123` through WinSCP.
2. Open the file /myfile for editing.
3. Type something in.
4. Save the file.
5. This warning comes up:

"Upload of file 'myfile' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.

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

The file is successfully saved but this problem should not occur as the user is part of the same group and has full write access.

Here is some other information:

- Windows version: XP Professional, Version 5.1, Build 2600.xpsp_sp3_gdr.090206-1234 : Service Pack 3
- WinSCP version: 4.1.9 (Build 416)
- Server info: Linux ################ 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
- SSHd version info: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 (SSH v1 is disabled)
- Connection info: connecting to the server via SSH (password authentication--no public key auth)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
On linux you are not allowed to change file permissions and/or update timestamp unless you are an owner of the file.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License