Results 1 to 4 of 4

Thread: Directory permissions for auto-mounted volumes

  1. #1
    Join Date
    Sep 2009
    Beans
    2

    Directory permissions for auto-mounted volumes

    I've been banging my head against the rock trying to figure this out and haven't been successful thus far.

    I have a media server. It's running 12.10 and Plex Media Server. The media is all stored on a RAID array that Ubuntu has kindly automounted to /media/feilb/raid/.

    Plex Media Server is run by the user "plex". This user is part of a group "plexgrp". I've made "plexgrp" the owning group for /media, /media/feilb, and /media/feilb/raid. Permissions on all said directories are 775. Owner is root.

    No matter what I've tried, I cannot get the plex user to decent into /media/feilb, much less /media/feilb/raid

    Any idea where I might start to tackle this one?
    Last edited by feilb; January 24th, 2013 at 06:26 AM.

  2. #2
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Directory permissions for auto-mounted volumes

    can you post the output of :
    Code:
    groups plex
    ls -al /media
    Last edited by fdrake; January 24th, 2013 at 05:26 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  3. #3
    Join Date
    Sep 2009
    Beans
    2

    Re: Directory permissions for auto-mounted volumes

    Code:
    total 12
    drwxrwxr-x   3 root plexgrp 4096 Dec 18 22:26 .
    drwxr-xr-x  25 root plexgrp 4096 Dec 19 07:44 ..
    drwxrwxr-x+  3 root plexgrp 4096 Jan 23 22:04 feilb
    Aha! You've triggered the solution!

    I had never noticed the +!

    After a quick read, I understand now that this indicates that the directory was governed by an Access Control List.

    I used:

    Code:
    setfacl -m group:plexgrp:rwx
    to add the group to the ACL and give it permissions. Thanks!

  4. #4
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Directory permissions for auto-mounted volumes

    Quote Originally Posted by feilb View Post
    Code:
    total 12
    drwxrwxr-x   3 root plexgrp 4096 Dec 18 22:26 .
    drwxr-xr-x  25 root plexgrp 4096 Dec 19 07:44 ..
    drwxrwxr-x+  3 root plexgrp 4096 Jan 23 22:04 feilb
    Aha! You've triggered the solution!

    I had never noticed the +!

    After a quick read, I understand now that this indicates that the directory was governed by an Access Control List.

    I used:

    Code:
    setfacl -m group:plexgrp:rwx
    to add the group to the ACL and give it permissions. Thanks!
    glad to hear you fixed it!

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •