Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: USB drive mount with root as owner, cannot be used
#2
(09-24-2023, 04:09 PM)Girafenaine Wrote: Hello Mooders,

I have been a happy moode user for a few years. Moode runs on a raspi 4 with a USB drive attached, that offers all the music I have got for mpd library.

2 weeks ago Moode stopped to read the music on the USB drive. The radios are read with no issues, that’s not a sound issue, but some with the USB drive. The files are seen, but when I try to play one file, nothing happen, mpd runs and "times out". I have to restart mpd to use moode again.

I have not yet undestood why this happens, current clue is that the used partition is NTFS and mounted with root as owner, not like the 2 other ext4 partitions that are mounted as pi owner.

The following picture shows the "Stockage" partition which is mounted with root as owner.

[Image: quickshot-230924-174506.png]


I tried to change the ownership with no success. sudo chown -R pi:pi /media/Stockage runs for 20-30 seconds and exit with no errors, but nothing has changed, the owner is still root.

On my laptop, with the same USB drive, all 3 partitions are mounted as owned by my user ! (automatically - no fstab instructions). I canmot guess the difference on the raspi with Moode.



Could you give me a hand to find what I should change or check to be able to use this partition ?


Thanks !

TTYTT I cannor say what suddenly started to get messy, but one thing is sure: you cannot change permissions/ownership on NTFS the way you would on a Ext? one.
Do you remember anything you did? It's very strange that moOde started misbehaving without anything having being changed under the hood...
Maybe you had another USB attached HDD which was Ext4, and now you replaced it with a new, bigger one, in NTFS...? Just wandering wild, as I have no other clue...
Reply


Messages In This Thread
RE: USB drive mount with root as owner, cannot be used - by Nutul - 09-24-2023, 04:40 PM

Forum Jump: