So, i followed your advice and did the next steps i found here, here and here:
In a few words:
I created a directory
mkdir
/music/usb2g
then, changed the owner to root (i don’t know if that was necessary)
chown root:root /music/usb2g
and mounted the disk
mount -t ntfs-3g -o uid=root,gid=root /dev/sda1 /music/usb2g
Then i edited the file system table so that this disk is mounted every time myRaspberry Pi starts up:
sudo nano /etc/fstab
/dev/sda1 /music/usb2g
ntfs-3g uid=root,gid=root
0 0
Then, i edited the samba configuration file in order to access the folder from my network:
sudo nano /etc/samba/smb.conf
and at the end of the file, i added the following lines
[USB]
path = /music/usb2g
comment = Directory for test files
writable = yes
browseable = yes
guest ok = yes
create mask = 0660
directory mask = 0771
Then, i saved the edited file
Press Control-X
Press y
Press [enter]
and finally restarted samba to use the new configuration file.
sudo /etc/init.d/samba restart
Everything seems to work fine now with ntfs hdds
Next step is to redo the whole process by using the UUID of the disk.
Waiting for your comments if any.
Thank you @woutervanwijk for the wonderful PiMusicBox and @kingosticks for the motivation.