Moving database to USB... ln -s operation not permitted?

Hi all

I tried moving my database to a USB-drive according to this guide. https://www.cribbstechnologies.com/index.php/home-assistant/moving-home-assistant-logs/

However I’m at the command ln -s /config/home-assistant.log /mnt/usb-disk/home-assistant.log
and it’s giving me ln: /mnt/usb-disk/home-assistant_v2.db: Operation not permitted

I checked ownership and read/write mnt/usb-disk is owned by root, which is what I’m logged in as.

Could anyone shed some light? Thanks!

Your log is not your database

Does the user running that command have permission to write to /mnt/usb-disk. Try touch.

I’m trying to move both log and db. Yes I did touch and it worked.

Did you do the mv command first?

Yes. Did that no problem…