3
Contributors
4
Replies
45
Views
2 Years
Discussion Span
Last Post by Swati1486
0

The file is probably not yours, or has wrong permissions. Open a terminal and type ls -l file.php to see the permissions. Post the result here.

Edited by Gribouillis

0

Waht do you mean by the file is probably not mine?!
I typed that and the result:
-rw-r--r-- 1 root root

1

Hi Niloofar24,

Greetings !!!

As per the permissions to the file (i.e -rw-r--r-- 1 root root). This file is actually own by root user (see at last line "root root") which is a administrator user in linux who has permission to read and write on file (see first characters i.e."-rw") and other that "root" user all users have read permission only (i.e."-r--r--").

As you said you are unable to save he file, this is because you are not owner of that file and you cannot do any changes in file. For making changes into file you need to have same permission which root user has. Ask you system admin to assign permission of read and write to you.

Hope my answer was more clear to you and you will not take it as offending.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.