Cannot Mkdir Protocol Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings docker "protocol error" and policies of this site About Us Learn more about Stack Overflow virtualbox shared folder protocol error the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation virtualbox shared folder permissions 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 virtualbox guest additions only takes a minute: Sign up mkdir: cannot create directory : Protocol error : Virtualbox Shared folder up vote 6 down vote favorite 1 I am trying to create folders and file in Virtualbox shared folder from Host to guest. But i get this error mkdir: cannot create directory : Protocol error. Below are steps i performed to share folder
Vagrant
1:My host OS is Ubuntu and my guest is Ubuntu. 2:I attached a share folder to virtualBox VM Folder Path:/DR/vault/config Folder:config selected automount and make permanent. 3:In Guest OS i installed virtualbox guest additions 4:I am trying to mount folder on /mount/config path I added entry in guest's /etc/fstab as /config /mount/config vboxsf rw,uid=1000,gid=1000 0 0 Path gets successfully mounted after Guest reboot also i can see the files created in /DR/vault/config(Guest) to /mount/config(Guest) but i cant create folder or file in /mount/config (Guest) Please suggest if anything is missing or if there is any other way. virtualbox share|improve this question edited Oct 5 '15 at 20:00 Joseph 2,60711834 asked Aug 19 '14 at 14:07 Dipak 172114 Is user you use in guest OS in a group "vboxfs"? But if not, you would get another (permission) error message, I guess. –Dawid Ferenczy Aug 20 '14 at 15:14 Also, should shared folder's name (first parameter on line in fstab) start with a slash? It should be exactly the same as "Folder name" in machine's sett
shared folder MaindotCDecember 10th, 2008, 01:41 AMThe VirtualBox documentation is rather confusing regarding this issue. It would really help if they would accompany an exact example. This is from page 62 of the user manual regarding shared folders: The command is as follows: VBoxManage sharedfolder add "VM name" -name "sharename" -hostpath "C:\test" Here's what I did. First, instead of following the directions for the command prompt, I opened VirtalBox, clicked on a Fedora 9 VM, clicked "Shared Folders", clicked "Add a new shared folder", entered the path on my host OS of the shared folder I created, http://stackoverflow.com/questions/25385570/mkdir-cannot-create-directory-protocol-error-virtualbox-shared-folder and clicked "Ok". My shared folder is located at /home/a34lkj2348dsf311/Desktop/shared_folder. Now I have to tell the VM where the shared folder is and where to mount it. So, page 62 continues: In a Linux guest, use the following command: mount -t vboxsf [-o OPTIONS] sharename mountpoint So I created a directory in my Fedora VM. It's in /root/Desktop/fedora_share. Here's what I entered and the associative https://ubuntuforums.org/archive/index.php/t-1006818.html output: [root@localhost Desktop]# mount -t vboxsf /home/a34lkj2348dsf311/Desktop/shared_folder fedora_share/ /sbin/mount.vboxsf: mounting failed with the error: Protocol error [root@localhost Desktop]# It's difficult for me to pinpoint the problem because if I want to do it via the command line on the host o/s I get the following output: a34lkj2348dsf311@a34lkj2348dsf311-desktop:~$ sudo VBoxManage sharedfolder remove Fedora -name ~/Desktop/shared_folder/ [sudo] password for a34lkj2348dsf311: VirtualBox Command Line Management Interface Version 2.0.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. [!] FAILED calling aVirtualBox->FindMachine(Bstr(argv[1]), machine.asOutParam()) at line 7455! [!] Primary RC = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Full error info present: true , basic error info present: true [!] Result Code = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Text = Could not find a registered machine named 'Fedora' [!] Component = VirtualBox, Interface: IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137} [!] Callee = IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137} a34lkj2348dsf311@a34lkj2348dsf311-desktop:~$ I tried it as the regular user and I also tried it as sudo. I tried changing the path of shared_folder in the Fedora VM just to see if it would return a different error, but got the same thing. So now, I don't even know if the VM is reading the path properly, much less this proto
Support Search GitHub This repository Watch 608 Star https://github.com/npm/npm/issues/3670 10,508 Fork 2,162 npm/npm Code Issues 2,374 Pull requests http://linux.bigresource.com/General-virtualbox-can-039-t-create-directories-in-virtual-box-shared-folder--sSMvpzhbq.html 76 Projects 0 Wiki Pulse Graphs New issue npm in vagrant-ubuntu on windows dies on "unknown error" when dirs are too long #3670 Closed Pomax opened this Issue Jul 18, 2013 · 10 comments Projects None protocol error yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants Pomax commented Jul 18, 2013 I'm using vagrant at the moment to see if I can set up a convenient test environment, currently testing on windows, but I'm running into an npm problem virtualbox shared folder where some modules have incredibly deep chains, going past the windows NTFS path limit of 256~260 characters. However, unlike in plain windows, the error in vagrant is proxied and ends up being "unknown": npm ERR! Error: UNKNOWN, mkdir '/vagrant/login.webmaker.org/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/node_modules/wordwrap/example' Running the mkdir outside of npm in the same dir leads to: mkdir: cannot create directory `/vagrant/login.webmaker.org/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/node_modules/wordwrap/example': Protocol error Vagrant doesn't report the error as a dir-length issue, simply calling it a protocol error, but this chain is too deep for windows to manage. I don't know if there's a flag to tell npm to just put all modules necessary in the base dir so that there's no duplication/deep chaining, but I've been running into the path depth a lot more recently, and while on windows npm can deal with it, in vagrant it apparently can't (ye
folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab: D_DRIVE /home/tony vboxsf rw,gid=1000,uid=1000,auto 0 0 I believe my user in the guest OS has the right uid and gid: [tony@kiwi ~]$ id uid=1000(tony) gid=1000(tony) groups=1000(tony),1002,(vboxsf) I can create files and remove them fine, but I can't seem to create directories. [tony@kiwi ~]$ mkdir foo mkdir: cannot create directory `foo': Protocol error Its weird because the directory looks like its there, sort of. [Code]... View 1 Replies Similar Messages: General :: Make A Shared Folder For Usage In Virtualbox? General :: File Permission And Shared Folder In Virtualbox General :: Ubuntu Server - Set File Permissions For VirtualBox Shared Folder? General :: Permission Denied When Accessing VirtualBox Shared Folder When Member Of The Vboxsf Group General :: File Permission - User Can Create Files/folders In The Shared Folder Ubuntu :: File Permissions Of Shared Folder Using Virtualbox? OpenSUSE :: After Update To Ubuntu In VirtualBox Shared Folder No Longer Mounting OpenSUSE :: Make Shared Folder In Virtual Box Mount On Startup? Ubuntu :: How To Create A Shared Folder Ubuntu :: Create A Shared Folder Using Terminal? General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them? General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions? Ubuntu :: Create Shell Script To Copy Contents Of A Shared Folder On A XP PC? OpenSUSE :: Virtualbox Guest Additions: Set A Shared Folder In 11.2 Guest General :: Unable To Share Folder In Suse 10.0 / Folder Defaults To Not Shared Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories? General :: Create And Configure A Virtual SAN Disk And Work On It With Virtual Machines? General :: Cycle Between Three Directories, Always