Unable to create files in a directory

Posted by vamsi360 on Super User See other posts from Super User or by vamsi360
Published on 2012-04-06T10:52:37Z Indexed on 2012/04/06 11:34 UTC
Read the original article Hit count: 190

I have created a directory in Virutalbox.

Using VBoxManage, I am executing a script inside the Ubuntu VM directory I created above from Ubuntu host OS. But if the script in the VM contains commands for creating a new file, they are not executing. "echo" commands before and after the touch ommand are working fine.

I even used root user for VBoxManage to install. I think the directory is not allowing the files to be created . How can I make a directory in Linux to be 777 to all new files created automatically. I mean, even if I make the directory (chmod 777 dir), I am unable to execute the script from the host. Please help. It may be simple permissions problem. Even root is unable to execute.

VBoxManage guestcontrol "Ubuntu_10_04" execute --image "/bin/bash" "/home/cloudlet/Desktop/temp2/three" --username root --password root  --verbose --wait-exit --wait-stdout -- -l /usr

Please help. I am struggling with this problem for the past one week.

© Super User or respective owner

Related posts about virtualbox

Related posts about virtual-machine