Cannot Create Regular File Protocol Error
Contents |
[ DST ] Get VirtualBox Forum powered by phpBB © phpBB Group By any use of this Website, you agree to be bound by these Policies and Terms of Use Sponsored by
This is the scenario that you run Windows as your host operating system and Ubuntu in a VirtualBox, and that you want to access a specific Windows folder from Ubuntu. First you have to cannot create regular file invalid argument make sure that have install Guest Additions. From the VirtualBox's menu go to
Cannot Create Regular File /usr/local/bin/python2.7' Permission Denied
Devices → Install Guest Additions… This will mount a virtual CD on your /media/cdrom. Normally this folder's window will show cannot create regular file not a directory up. As root run the program VBoxLinuxAdditions.run. When the program completes reboot your VirtualBox. With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go https://forums.virtualbox.org/viewtopic.php?f=3&t=840&start=30 to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will http://www.giannistsakiris.com/2008/04/09/virtualbox-access-windows-host-shared-folders-from-ubuntu-guest/ need it very soon. When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to create a mounpoint, that is, a directory in your Ubuntu which will reflect the shared folder from Windows: # sudo mkdir /media/windows-share Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this: # sudo mount -t vboxsf folder-name /media/windows-share Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list. You could use the /etc/init.d/rc.local script to execute these commands on startup to have the shared folders automatically mounted every time you start your Ubuntu VirtualBox. This entry was posted in Uncategorized. Bookmark the permalink. ← JSP: how to read unicode from forms gcc: error: stray ‘342’ in program → 157 Responses to VirtualBox: access Windows-host shared folders from Ubuntu-guest Pablo says: November 5, 2008 at 6:48 am Very useful!!! thanks a lot for this article… From Chile - Southamerica pamorale Reply Pindey says: November 12, 2008 at 9:46 am thank you so much!!! Reply Pinde
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about http://stackoverflow.com/questions/7728853/cannot-create-regular-file-while-copying-from-one-system-to-another-system Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up cannot create Regular file while copying from one system to another system up vote cannot create 2 down vote favorite I tried to copy a file from one linux server to another Linux server using the below command scp sampleweb.rar pavan@50.45.555.90 / It gave me this error under putty console . cp: cannot create regular file `/sampleweb.rar': Permission denied cp: cannot create regular file `/pavan@50.45.555.90': Permission denied linux share|improve this question asked Oct 11 '11 at 15:48 user974802 85251721 add a comment| 1 Answer 1 active oldest cannot create regular votes up vote 4 down vote accepted Assuming you are trying to write to the / directory on the remote machine, it looks like you are missing a colon: scp sampleweb.rar pavan@50.45.555.90:/ Without the colon, scp asssumes this is a local copy, and falls back to cp on the local machine, as indicated by your error messages. share|improve this answer edited Oct 11 '11 at 16:09 answered Oct 11 '11 at 15:53 ire_and_curses 45.2k1987118 Thank you worked like a charm . –user974802 Oct 11 '11 at 16:10 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email 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 linux or ask your own question. asked 4 years ago viewed 8229 times active 4 years ago Related 0The shell redirection command used for creating file in another di2cp: cannot create directory Permission denied2Copying only modified files from one host to another0Copying Multiple files using cp0Preserving permissions while copying from Windows to Linux0How