Results 1 to 3 of 3

Thread: VM / Cannot access external drive

  1. #1
    Join Date
    Mar 2008
    Beans
    5

    VM / Cannot access external drive

    I created a VM and I have a backup drive connected to a windows machine in which I shared to the linux machine (Using Samba).

    Now as ROOT I can read and write to the share /media/backupdrive (actually on a windows server)

    Now I need another user to have access to the drive / to have write access

    I have tried chown, chmod, even found out how to give a regular user root access and can't figure out how to give a normal user access to the windows shared drive

    Anyone know how I could resolve this?

  2. #2
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,435
    Distro
    Ubuntu Development Release

    Re: VM / Cannot access external drive

    Use this to add a Share password to the system:

    Code:
    sudo smbpasswd -a newusername
    Enter their password when asked.

    Seems like this should do the trick.
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q30X Intel i5-4670K 4.0GHz, SSDs, 16G RAM | Dell laptop E1505n, netbook 10n
    Oracle VBox w/ WinXP Pro running Xara Designer, PaintShopPro, and InDesign CS.

  3. #3
    Join Date
    Mar 2008
    Beans
    5

    Re: VM / Cannot access external drive

    Bit confused cuz I don't need a password when doing from root

    I can mount the drive using any username but just can't write to it

    Here is the command I use:

    smbmount //Server/Share /media/Share -o username=WindowsDomain\\user,password=$MYPASS

    that works, but can't get any user besides root to write to share

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
  •