On 07/14/18, Jan Panteltje said the following...
JP>
JP> ...
JP> sudo cp -r /home/Desktop/Temp/public/* /var/www/html/
JP> ....
JP>
I tried this command in root and I tried it with /home/Desk... as well as
~/home/...
and it doesn't copy files over.
JP>
JP> So destination directory is OK?
JP> sudo ls /var/www/html/
JP>
JP> how about the source directory?
JP> sudo ls -rlt /home/Desktop/Temp/public/
JP>
JP> It must be one of the 2 for that error message.
JP>
JP> And why not just be root and forget sudo
JP> sudo su -
JP>
JP> try:
JP> echo "Hello" > /var/www/html/test
JP> cat /var/www/html/test
JP> should show 'hello'
JP>
JP> Just run some simple checks.
JP>
And I did this and I was able to copy to test and other things as well....
cannot seem to copy the directory over to populate the html directory with
the html files I want...
Thanx
IB JOE
AKA Joe Schweier
SysOp of Joe's Computer & BBS
Telnet: joesbbs.com
--- Mystic BBS v1.12 A35 (Raspberry Pi/32)
* Origin: Joe's Computer & BBS -=joesbbs.com=- (1:342/200)
|