Permissions problem on mp3 files

mlongval
Posts: 1
Joined: Thu May 07, 2009 10:36 am

Permissions problem on mp3 files

Postby mlongval » Thu May 07, 2009 11:00 am

Hello,

I am a new user of Amahi. So far very nice. Congrats.

I am running Amahi on a Fedora 9 virtual machine on my MacPro using VirtualBox.

Did:
Clean Fedora 9 + Amahi install.
Added a user "doc" using Amahi
Accessed an Amahi share "Music" from my MacPro as user "doc" using smb://
Copied a folder of music from another share (elswhere on network) to Amahi "Music"
Opened AmahiTunes under Shared in the MacPro iTunes

** Problem: --- The copied music does not appear in the AmahiTunes on the MacPro in iTunes

Tried:
Manually restarted the mt-daapd server (/etc/init.d/mt-daapd restart)
Does not change anything

Tried:
Manually restarting the background scanner on mt-daapd config page
Does not change anything

*** Solution:
Noticed that files copied to /var/hda/files/music where all permissions "600" with owner "doc:users"
Changed the permissions of all .mp3 to "644" keeping the owner as "doc:users"
Now the MacPro iTunes properly sees the files. And the mt-daapd config pages report correct number of songs.

Conclusion:

Amahi must insure that files added to /var/hda/files/music via smb:// sharing are permission "644" (minimum)

Michael Longval
mlongval@gmail.com

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Permissions problem on mp3 files

Postby cpg » Thu May 07, 2009 1:51 pm

actually, i believe this may be a mac os x problem.

mac os "mirrors" the permissions that it has on it's file system when copying files to samba shares.

we have verified this.

so, not only it copies the files, it also makes the permissions identical as well as the timestamp for the each of the files.

generally this is a healthy thing, methinks.

can you see what permissions you have in your mac for those files?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 7 guests