Results 1 to 3 of 3

Thread: Making a volume/partition available to all users

  1. #1
    Join Date
    Feb 2006
    Location
    Ireland
    Beans
    855
    Distro
    Ubuntu 13.04 Raring Ringtail

    Making a volume/partition available to all users

    I have an ext4 partition but because I ticked "take ownership of device" when formatting, nobody else can mount it without entering a password.

    I'm currently backing up the contents to format the disk again, so I would like to know how I can have it so that the Movies user can have this drive already mounted (so xbmc can run at startup). Is it possible to do this or even better make the drive available to three specific users of my system?

    Many thanks,
    Jarlath

  2. #2
    Join Date
    Dec 2007
    Location
    California
    Beans
    4,900
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Making a volume/partition available to all users

    No need to reformat.

    Firstly you need to make an fstab entry for it

    https://help.ubuntu.com/community/Fstab


    Secondly I imagine you would need to create a new group, add the three users to the group, and then recursively modify permissions on the drive to your liking.

    Here's a simple write up to help you understand permissions better, and to give you an idea of what you are doing.

    http://wiki.debian.org/Permissions#C..._Family_photos
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Feb 2006
    Location
    Ireland
    Beans
    855
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Making a volume/partition available to all users

    Thanks Jerome 1232, that worked! For fstab I used the options: auto, user, ro (to prevent accidents).

    I had tried before putting defaults at the start and then 'user' afterwards, thinking that it would have precedence from right to left but it didn't work. Do you know anything about that?

    Luckily I didn't have to create any groups, I think that's because of the 'user' option in fstab but I don't know.

    Anyway, thanks very much. We now have a Movies account with no password that launches XBMC on startup so we have a happy home indeed.

    Kind regards,
    Jarlath

Tags for this Thread

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
  •