Permission denied error while trying to download using the wget command
by akinolamauyon from LinuxQuestions.org on (#6FCS7)
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
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