Results 1 to 3 of 3

Thread: VM / Cannot access external drive

  1. #1
    Join Date
    Mar 2008

    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
    Cameron Park CA USA
    Ubuntu Development Release

    Re: VM / Cannot access external drive

    Use this to add a Share password to the system:

    sudo smbpasswd -a newusername
    Enter their password when asked.

    Seems like this should do the trick.
    Regards, frank, at
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,16G RAM | Dell Laptop 11.6" N3050.
    Oracle VBox w/ WinXP/Win8 running Xara Designer, PaintShopPro, and InDesign CS.

  3. #3
    Join Date
    Mar 2008

    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


Posting Permissions

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