I'm trying to mount an external drive on a web folder, call it flash
:
After mounting the external drive which is located in /dev/sdb1
the permissions change like this:
sudo mount -o defaults /dev/sdb1 /var/www/html/TV/flash
When I try to browse a file from the mounted location, I get 404 Not Found
while the file exists.
When I try to list files inside the folder it says Permission Denied
Also, I have tried changing the ownership of the folder, but didn't work:
sudo chown -R "$USER":www-data flash/
chown: changing ownership of 'flash/System Volume Information': Read-only file system
chown: changing ownership of 'flash/': Read-only file system
Operation not permitted
tho I'm usingsudo