Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Running Ubuntu 12.04. I have Windows Server running in VBox... I can mount the Windows drive just fine, but no matter what I try I can't get it mount writeable.

The latest attempt looks something like this...

sudo mount -t cifs -o user,rw,username=USERNAME,password=PASSWORD //192.168.1.20/websites /media/websites

The mount works just fine, but everything is readonly. Any advice would be appreciated.

share|improve this question
    
add comment

3 Answers

I am not sure but try to give the file privileges I mean sudo chmod +x "File name or path to it"

share|improve this answer
    
Actually, I just tried that again and got a 'Permission denied' (running chmod as sudo, mind you) - There MUST be a way to do this... am I the only one that needs to mount a windows drive and can't? –  aserwin Aug 24 '12 at 16:19
    
try other way <code> sudo su </code> and then chmod without sudo at beggining –  Xylo Aug 24 '12 at 16:23
add comment
up vote 0 down vote accepted

The answer is NO. It is not possible to mount a windows files system from a VBox vm in Ubuntu 12.04 (with write privileges).

share|improve this answer
add comment

Hi YES its possible mount windows folders in vbox ubuntu 12.04 as full access, if you declare the folders in virtualbox as permanent and automount then a folder is created in /media/sf_FOLDER , to make it writeable you need to umount then change permissions to the folder and then mount again, and now is writeable.

share|improve this answer
    
That creates a share in Ubuntu that is accessible in Windows. I need a share in Windows that is accessible from Ubuntu. –  aserwin Sep 4 '12 at 21:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.