Results 1 to 9 of 9

Thread: Second/External Drive Permissions

  1. #1
    Join Date
    May 2008
    Location
    London
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Second/External Drive Permissions

    Hello,

    I have two hard drives on my machine, one EXT4 and the other NTFS.

    When using Hardy, mounting the second hard drive (NTFS) once logging in would do so with full read/write/execute permissions to all users (owner root).

    With Lucid, mounting the second drive (NTFS) once logging in gives full read/write/execute access only to my main user. Now I also have alternate logins that I have created on the machine, which can not access any of the content on the drive.

    In essence, the selective permissions ability is nicer in Lucid, but how can I give alternate users read permissions at the least? "chmod -R 755 /path/to/drive" doesn't work as permissions just stay at 700.

    Please help.

    Thanks,

  2. #2
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: Second/External Drive Permissions

    Try using Users & Groups and adding those users to either your usergroup or to root's.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  3. #3
    Join Date
    May 2008
    Location
    London
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Second/External Drive Permissions

    Quote Originally Posted by warfacegod View Post
    Try using Users & Groups and adding those users to either your usergroup or to root's.
    Thanks for the reply.

    The addition to my usergroup won't work as permissions remain at 700, so even the group doesn't have read permissions, no am I able to give the required permissions.

    Thanks,

  4. #4
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: Second/External Drive Permissions

    I'd suggest "chown"ing the drive but I don't think that works on NTFS.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  5. #5
    Join Date
    May 2008
    Location
    London
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Second/External Drive Permissions

    Quote Originally Posted by warfacegod View Post
    I'd suggest "chown"ing the drive but I don't think that works on NTFS.
    Nope that can't work as then the main user looses access. Need multiple users to have access unfortunately.

    Thanks,

  6. #6
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Beans
    186
    Distro
    Ubuntu 13.10 Saucy Salamander

    Question Re: Second/External Drive Permissions

    I got the same issue here. Multiple users and external drive, that which ever user is logged in can see, but once switched to other user, is not available no more.

    It's NTFS as well since it needs to be interchangeable to with windows.

    Anybody got any ideas?

  7. #7
    Join Date
    May 2008
    Location
    London
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Second/External Drive Permissions

    i like the idea about selective user privilages on ntfs drives - but haven't had the time to review properly during mount.

    What you can do (what used to hapen on hardy where mounted with 777 perms):
    1. Use 'blkid /dev/<id>' to identify drive UUID
    2. Create a directory to mount drive - 'mkdir /mount/point'
    3. then insert the following entry into /etc/fstab - UUID=<UUID> /mount/point ntfs-3g rw,defaults 0 0


    This will mount as root owner with 777 perms. Hope that helps.

  8. #8
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Beans
    186
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Second/External Drive Permissions

    Hi rampageoberon,

    Thanks for that suggestion. I already tried doing it that way. The problem with that is that it becomes a permanent mount, and as soon as you remove the external it will not reconnect until you reboot the computer with it attached.

    Still looking for a solution right now.I would simply like that all users can access the temporary mounts.

  9. #9
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: Second/External Drive Permissions

    Try here for everything you always wanted to know about NTFS-3G permissions, but were afraid to ask.

    And here for mounting.

    NTFS-config is a great tool...you can find it in the repository.
    Last edited by jtarin; July 5th, 2010 at 01:35 AM.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

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
  •