this issue is due to your user doesn't have permissions to write this file.
In Linux, every file and folder have owner and permissions. The owner can be split in user and group. As you can see in the last screenshot (last column), the
login.php file is owned by the user
daemon and the group
Also, in the permissions column, you can see
rw-rw-r--, this is the permissions that the user and the group have on this file.
According to the permissions column,
login.php is readable (r) and writable (w) by the user and the group:
user group others
rw- rw- r--
As we said previously, according to the owner column, this user and group are
The issue appears because you are connecting to Putty with the default user:
bitnami, so this user doesn't have permissions to write this file. To solve it, we can modify the permissions of the file, for that we can add writable permission to others, this means that other users (not owned, like
bitnami user) can write the file.
For doing that, in Putty, you can right-click the file and choose 'File Permissions' to open the file attributes and click on the 'write' checkbox in the 'Public Permission' area or insert
666 in the 'Numeric value' field.
I hope this information is useful for you. If you have any other question, please do not hesitate to let us know.
Carlos R. Hernández
Was my answer helpful? Click on