I have apache up, it's up and working. I am able to create files, but I am however unable to paste files to my /var/www directory. So what can I do to fix this problem?? Here is a screen shot of the error I get when I try to paste files:
Under "Show More Details", it says:
Error when getting information for file '/home/kidgrave/Pictures/advertised.jpg
': No such file or directory
Unable to paste files to my Apache server
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Unable to paste files to my Apache server
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Unable to paste files to my Apache server
It's probably an ownership issue with /var/www
If you are using the webserver strictly as a development box, you can change the ownership stuffola as:
In the above the "-R" means recursive (as in change all sub-directories and files to the same ownership as the /var/www root directory).
If you are going to make this a public site then you will need to research appropriate security protocols before changing the ownerships.
-DataMan
If you are using the webserver strictly as a development box, you can change the ownership stuffola as:
Code: Select all
sudo chown -R <your login id> /var/www
sudo chgrp -R <your login id> /var/www
If you are going to make this a public site then you will need to research appropriate security protocols before changing the ownerships.
-DataMan
Re: Unable to paste files to my Apache server
Yeah I want to make my site public. I just decided to put my website files elsewhere. But now I made a different thread because my images online cannot be read.DataMan wrote:It's probably an ownership issue with /var/www
If you are using the webserver strictly as a development box, you can change the ownership stuffola as:
In the above the "-R" means recursive (as in change all sub-directories and files to the same ownership as the /var/www root directory).Code: Select all
sudo chown -R <your login id> /var/www sudo chgrp -R <your login id> /var/www
If you are going to make this a public site then you will need to research appropriate security protocols before changing the ownerships.
-DataMan
Re: Unable to paste files to my Apache server
I had the same problem too. The only way I found out to change permissions was to open the folder var as adminstrator and once there I could change ownership to me (fidbeck) . but this way is easier. I'll have to try it another time