Permissions error tin can jukebox

bone
Posts: 5
Joined: Mon Oct 22, 2012 2:01 pm

Permissions error tin can jukebox

Postby bone » Mon Oct 22, 2012 2:07 pm

Hello

I tried installing Tin Can Jukebox and when I try to scan my music files I get the following error:
Mon Oct 22 22:22:39 CEST 2012 - (1) Error opening /var/hda/files/music/mp3. The user the web server runs under does not appear to have permissions to this directory.

When in terminal I do cd /var/hda/files/music and press ls -l I get the following output:
-rwxrw-r-- 1 bone users 504 Jul 11 09:28 desktop.ini
drwxrwxr-x 5 bone users 4096 Oct 21 10:30 iTunes
drwxrwxr-x 2 bone users 40960 Oct 21 20:09 MP3
drwxrwxr-x 2 bone users 4096 May 26 18:46 Playlists
drwxrwxr-x 2 bone users 4096 Oct 21 10:41 $RECYCLE.BIN


I also tried to open a terminal and press sudo nautilus and gave the other access - read only rights but still I get the above error.

Can some1 please help me to get this up and running?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Permissions error tin can jukebox

Postby bigfoot65 » Mon Oct 22, 2012 4:04 pm

Check /var/log/amahi-app-installer.log file for issues. Also check the ownership of the files in /var/hda/web-apps/jukebox.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bone
Posts: 5
Joined: Mon Oct 22, 2012 2:01 pm

Re: Permissions error tin can jukebox

Postby bone » Mon Oct 22, 2012 10:32 pm

What do the right have to be on /var/hda/web-apps/jukebox? I mean, do users need read-write or do they have to be the same as the folder /var/hda/files/music where others just have access - read permissions?

bone
Posts: 5
Joined: Mon Oct 22, 2012 2:01 pm

Re: Permissions error tin can jukebox

Postby bone » Tue Oct 23, 2012 12:43 am

Check /var/log/amahi-app-installer.log file for issues. Also check the ownership of the files in /var/hda/web-apps/jukebox.
/var/log/amahi-app-installer.log:
No errors

/var/hda/web-apps/jukebox
Owner was www-data annd also tried setting owner to bone but no joy. Still keeps complaining about permissions on /var/hda/files/music

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Permissions error tin can jukebox

Postby bigfoot65 » Tue Oct 23, 2012 5:23 am

/var/hda/web-apps/jukebox
Owner was www-data annd also tried setting owner to bone but no joy. Still keeps complaining about permissions on /var/hda/files/music
[/quote]

The ownership for /var/hda/web-apps/jukebox should be www-data:users. The music would be owned by your first admin user:users. Suggest you try this:

Code: Select all

sudo chown -R bone:users /var/hda/files/music
That will ensure all files in the music directory are owned by your first admin user. If this still does not work, then we will have to research the issue a bit more.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bone
Posts: 5
Joined: Mon Oct 22, 2012 2:01 pm

Re: Permissions error tin can jukebox

Postby bone » Tue Oct 23, 2012 5:56 am

/var/hda/web-apps/jukebox
Owner was www-data annd also tried setting owner to bone but no joy. Still keeps complaining about permissions on /var/hda/files/music
The ownership for /var/hda/web-apps/jukebox should be www-data:users. The music would be owned by your first admin user:users. Suggest you try this:

Code: Select all

sudo chown -R bone:users /var/hda/files/music
That will ensure all files in the music directory are owned by your first admin user. If this still does not work, then we will have to research the issue a bit more.[/quote]

Bingo

and what also might help is looking at upper and lower case *shame* :)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Permissions error tin can jukebox

Postby bigfoot65 » Tue Oct 23, 2012 5:57 am

So that resolved your issue?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bone
Posts: 5
Joined: Mon Oct 22, 2012 2:01 pm

Re: Permissions error tin can jukebox

Postby bone » Tue Oct 23, 2012 7:18 am

Yes,

thank you for the help and patience :)

Who is online

Users browsing this forum: No registered users and 21 guests