Changing the upload folder

Posted by leolegocraft04 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Changing the upload folder
August 14, 2017 08:57AM
Hi,
I recently tried to upload a file onto my raspberry pi piratebox and the upload was succesful. However the file wasn't displayed in the website. I searched for it with putty and found it in the share/Shared folder. So I changed the upload folder in the piratebox.conf but now I get an error message in the browser every time I try to upload a file.
Thanks for the attention!
Useful informations:
I don't have a USB thumbdrive at the moment.
I don't want to run install_piratebox.sh because I'm scared of the fact that it could replace my modified www folder.
Re: Changing the upload folder
August 14, 2017 05:51PM
Make sure the new upload folder is set to (a) a+rwx or (better) (b) the ownership is set to nobody:nogroup

a:
sudo chmod a+rwx <path to new upload>

b:
sudo chown nobody:nogroup <path to new upload>

best regards Matthias
Re: Changing the upload folder
August 15, 2017 06:25AM
Thanks!