Author Topic: [SOLVED] Permission problem (/home/samba) with Mediatomb  (Read 2960 times)

Commifreak

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
[SOLVED] Permission problem (/home/samba) with Mediatomb
« on: November 09, 2012, 08:15:53 pm »
Hi,

I want to set.up a Mediatomb server, I've spent a couple of minutes now and Im very frustrated now...
I want to allow Mediatomb to browse through /home/samba. Especially /home/samba/shares/filme.

So, I dont want to write anything else, here the permissions ;)

Code: [Select]
root@server:/home/samba# getfacl shares/
# file: shares/
# owner: root
# group: __USERS__
user::rwx
user:www-data:r--
user:nobody:r-x
group::rwx
group:mediatomb:rw-
mask::rwx
other::rwx
default:user::rwx
default:group::rwx
default:group:mediatomb:rw-
default:mask::rwx
default:other::rwx

Code: [Select]
drwxrwxrwx+  7 root __USERS__ 4096 Sep 30 17:53 shares
Code: [Select]
drwxrwx---+ 46 3000007 __USERS__ 16384 Nov  9 17:27 filme
Following user:group is the user/group for mediatomb:

Code: [Select]
mediatomb:mediatomb
I cant get mediatomb to browse it, I can browse /ome/samba, but its shown as empty :(

Whats wrong? hwich permission is not set correctly?!
« Last Edit: November 10, 2012, 03:20:45 pm by Commifreak »
Greetings,
CF

Marcus

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 395
  • Karma: +12/-0
    • View Profile
    • Professional IT Service
Re: Permission problem (/home/samba) with Mediatomb
« Reply #1 on: November 10, 2012, 01:30:27 am »
Hello Commifreak,

Your first stop should be in the /var/log/apache2/ directory.

Check for errors in the error.log file...

Code: [Select]
taif -f /var/log/apache2/error.log
Best,

Marcus

Commifreak

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Permission problem (/home/samba) with Mediatomb
« Reply #2 on: November 10, 2012, 12:25:42 pm »
Mediatomb is a own server. Its not associated with apache and the logs af MT doesnt say anything.
Greetings,
CF

UdoB

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +17/-0
    • View Profile
Re: Permission problem (/home/samba) with Mediatomb
« Reply #3 on: November 10, 2012, 01:28:42 pm »

group::rwx
group:mediatomb:rw-


Unverified guess: you are removing explicitly the x from mediatomb. The eXecute permission stands for "entering" the directory...
Udo

Commifreak

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Permission problem (/home/samba) with Mediatomb
« Reply #4 on: November 10, 2012, 03:20:35 pm »
Dammit - yep, you're right, that solved this issue for me.

Thanks!  ;D
Greetings,
CF