I created a test.php file in the required /var/www folder but how do I edit the file ?It says it's only a read only file.Using chmod +rwx <filename> says 'no such file'...Please help .
geekme
0
Junior Poster in Training
Recommended Answers
Jump to PostAre you in the correct folder? Try
cd /var/www
first.
Jump to Post//in terminal
//if you are a sudoer or if you have a root prev
sudo chmod 777 -R /var/www //then enter youre password
//if you cant sudo, then be root
su //enter root password
chmod 777 -R /var/www
of if you are log in as admin, just go to /var …
All 5 Replies
twiss
155
Veteran Poster
happytogether
6
Junior Poster in Training
geekme
0
Junior Poster in Training
twiss
155
Veteran Poster
geekme
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.