Group write permissions set, but warned that no write access

Advertisement

nicktacular
Guest

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)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum