Permission denied error while trying to download using the wget command
I am having permission denied error while trying to download from owncloud using the wget command. By using the download url on a browser I could download the file but from the ubuntu server command line I am having the error. Please see below
ubuntu@P1-AppServer:/var/www/html$ wget https://download.owncloud.com/server...latest.tar.bz2 --2023-10-07 15:22:05-- https://download.owncloud.com/server...latest.tar.bz2 Resolving download.owncloud.com (download.owncloud.com)... 167.233.14.167, 2a01:4f8:1c1d:3d1::1 Connecting to download.owncloud.com (download.owncloud.com)|167.233.14.167|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 76290404 (73M) [application/x-bzip2] owncloud-complete-latest.tar.bz2: Permission denied |
Permission is denied not to download a file but to save it. You don't have write access to /var/www/html
|
most likley " /var/www/html " is owned by Apache
you need to use a different location |
Would
Quote:
Otherwise it should work in a folder you own (like said^:D) and then you can move it. |
All times are GMT -5. The time now is 05:48 PM. |