Results 1 to 7 of 7

Thread: External Hardrive - Sharing with other users on the same computer

  1. #1
    Join Date
    Feb 2008
    Location
    MN
    Beans
    79
    Distro
    Ubuntu 10.10 Maverick Meerkat

    [Solved] - External Hardrive - Sharing with other users on the same computer

    I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?

    I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?

    Any help would be greatly appreciated. Thanks!
    Last edited by eric_1982; January 18th, 2010 at 02:14 AM. Reason: This issue has been resolved

  2. #2
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: External Hardrive - Sharing with other users on the same computer

    i think you might have forgotten to unmount the drive before logging off.
    I'm not antisocial. I'm just not user friendly...
    Open Linux Forums

  3. #3
    Join Date
    Feb 2008
    Location
    MN
    Beans
    79
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: External Hardrive - Sharing with other users on the same computer

    I completly over look that. That seems to fix the issue. Is there a way that I can have a script run at logout to unmount that device?

  4. #4
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: External Hardrive - Sharing with other users on the same computer

    you could add a line to your etc/gdm/PostSession/Default, something like this:
    Code:
    umount /mnt/External\ Drive
    this should execute the command at every log off
    I'm not antisocial. I'm just not user friendly...
    Open Linux Forums

  5. #5
    Join Date
    Feb 2008
    Location
    MN
    Beans
    79
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: External Hardrive - Sharing with other users on the same computer

    Thank you so much! I made the change in that file and it worked perfectly. Thanks again!

  6. #6
    Join Date
    Dec 2006
    Beans
    7

    Re: External Hardrive - Sharing with other users on the same computer

    Why not just mount it and as root change the permissions on
    the mount point to allow all uses to access the drive

    mount /mnt/disk /dev/sdxx etc
    su to root
    chmod 777 /mnt/disk

  7. #7
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: External Hardrive - Sharing with other users on the same computer

    Quote Originally Posted by eric_1982 View Post
    Thank you so much! I made the change in that file and it worked perfectly. Thanks again!
    glad it's working as you want it to
    I'm not antisocial. I'm just not user friendly...
    Open Linux Forums

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
  •