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.

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)


Topic review


Re: Group write permissions set, but warned that no write access

On linux you are not allowed to change file permissions and/or update timestamp unless you are an owner of the file.

Group write permissions set, but warned that no write access

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)