Hello Sir...
I was trying to Upload Google Webmaster Verification HTML File on My EC2 Server ( Litespeed Wordpress )
Using WinSCP SFTP
Successfully Logged in and View Files & Folders of All Directory.
I Copied the Google verification HTML File and Try to Paste in /var/www/html
But, I was getting an Error
Permission denied
Error Code: 3
Error message from server: Permission denied
So, I understood it because of some permissions, not allow me to upload files remotely.
I searched over google and finally found this solution.
https://forums.aws.amazon.com/thread.jspa?messageID=361659
I Opened Putty and Logged into SSH
Then, I Put This code
after I press enter, then...
this happened.
Check Attached TEXT File to Know What Happened.
This is Too Long, So I Attached as a TEXT File.
After That... I Tried to Upload the Google Verification File into My Site using WinSCP, I Succeeded.
Then I Verified my site in Google Webmaster.
BUT,
I think I have done it in the Wrong Way.
or
I have Opened access to Public
or Something is Not Good for my server...
What is that Command Mean For...?
Did I give permission to upload any files to Anywhere in My server?
I feel something strange.
Can I Change Back to the Previous Condition? ( Default Condition )
How to Do That?
Kindly Check everything and let me know a Proper solution.
NB: I am a little afraid of this... so, I am thinking about removing my EC2 Instance from AWS and set up something new with Familiar Bitnami like software...
This is My First site with Litespeed... so your kind support is highly appreciated.
Thank You So Much.
I was trying to Upload Google Webmaster Verification HTML File on My EC2 Server ( Litespeed Wordpress )
Using WinSCP SFTP
Successfully Logged in and View Files & Folders of All Directory.
I Copied the Google verification HTML File and Try to Paste in /var/www/html
But, I was getting an Error
Permission denied
Error Code: 3
Error message from server: Permission denied
So, I understood it because of some permissions, not allow me to upload files remotely.
I searched over google and finally found this solution.
https://forums.aws.amazon.com/thread.jspa?messageID=361659
Code:
sudo chown -R -v ec2-user /var/www/
Then, I Put This code
Code:
sudo chown -R -v ubuntu /var/www/
this happened.
Check Attached TEXT File to Know What Happened.
This is Too Long, So I Attached as a TEXT File.
After That... I Tried to Upload the Google Verification File into My Site using WinSCP, I Succeeded.
Then I Verified my site in Google Webmaster.
BUT,
I think I have done it in the Wrong Way.
or
I have Opened access to Public
or Something is Not Good for my server...
What is that Command Mean For...?
Did I give permission to upload any files to Anywhere in My server?
I feel something strange.
Can I Change Back to the Previous Condition? ( Default Condition )
How to Do That?
Kindly Check everything and let me know a Proper solution.
NB: I am a little afraid of this... so, I am thinking about removing my EC2 Instance from AWS and set up something new with Familiar Bitnami like software...
This is My First site with Litespeed... so your kind support is highly appreciated.
Thank You So Much.
Attachments
-
109.4 KB Views: 4