Jump to content

Recommended Posts

Posted

Greetings to all,

                          I'm trying to add a Virtualbox shared folder between Wndows 11 and Kubuntu 23.10.

The final command was

$ sudo mount -t vboxsf Scotts_LinuxS_Shared ~/Desktop/windowsshare

 

But when I try to save a file into the windowsshared folder in Kubuntu I receive the followng error

image.png.6b577ea19fdfa5de77ccaf91f558720c.png

 

Can anyone please advise where I am going wrong.?

 

Many thanks for reading this far.

Scott

Bookmem
Posted
1 hour ago, snminc said:

Greetings to all,

 

                          I'm trying to add a Virtualbox shared folder between Wndows 11 and Kubuntu 23.10.

 

The final command was

$ sudo mount -t vboxsf Scotts_LinuxS_Shared ~/Desktop/windowsshare

 

 

But when I try to save a file into the windowsshared folder in Kubuntu I receive the followng error

image.png.6b577ea19fdfa5de77ccaf91f558720c.png

 

Can anyone please advise where I am going wrong.?

 

 

Many thanks for reading this far.

 

Scott

 

Which is the host, Linux or Windows? Why are you using the command line instead of the Vbox sharing? /Devices/Shared folder?

Hedon James
Posted (edited)

It's been a long time since I used VBox, as I've switched to Virtual-Machine-Manager (VMM).  But I did have this setup in VBox, once upon a time, with a Linux Host and Windows Guest.

 

Based on your screenshot, the error provided suggests your permissions in Kubuntu aren't allowing write access to the shared folder.  The link you posted is a strange way to setup the guest in VBox, with CLI rather than GUI, but appears to be correct.  I've used GUI and CLI in the past and the GUI is easier, although CLI is universal for ALL users.  So let's assume you did everything right.

 

Place a document in your Windows HOST shared folder from within that HOST.  I'll suggest calling the document something like Test-Win2Lin (Test document Windows to Linux) so it can be differentiated from the reverse scenario that failed.  With that document created in the HOST folder, open your GUEST and navigate to the shared folder from within your file manager.  If your document is there, the share is setup correctly and you have a permission problem.  If the document is NOT there, you have a share problem.

 

Assuming a permission problem, from within your GUEST file manager, navigate to the shared document folder.  Based on your post, it appears to be Scotts_LinuxS_Shared.  Right click on that folder and choose properties, then select the permissions tab.  It should look something like this:

image.png.851170045fe1aa2eae8c73ea831d40cd.png

I think your error is because you don't have read/write permissions (modify) in Owner or Group.  If I'm correct, use the pull down bar and select "view and modify" for write permission to the shared drive, and click OK.  If your permissions are correct, we've got something else going on (perhaps special characters in your shared folder....the underscores....it's been awhile for me to say for certain.)  Hoping a current VBox user will chime in.  But first things first....you definitely have a permission issue and fixing that may fix everything.

 

With the correct permissions applied, create a second document in your GUEST and save it to your shared directory.  I'll suggest that document be named Test-Lin2Win (test document Linux to Windows).  You should now have 2 documents in your GUEST shared directory; one shared from Windows to Linux, and one shared from Linux to Windows, and you'll be able to tell which one is which.  Switch over to your HOST and verify you have both documents in the HOST shared directory.  If so, you are good to go.  If not, we'll have to retrace your steps and see where the error occurred.

 

This is absolutely do-able and at a quick glance, you seem to have done everything correctly.  I'm sure it's something simple & stupid that you'll shake your head and say "awww mannnn!"  Good luck and tell us how you make out!

Edited by Hedon James
Bookmem
Posted
14 hours ago, snminc said:

Many thanks for the reply.

 

Windows is the Host.

 

Having set up the shared folder using Virtualbox's Shared Folder menu

I was trying to link the Kubuntu (Guest) Desktop Folder to the one on my Windows desktop following an article I found

 

https://www.geeksforgeeks.org/create-shared-folder-host-os-guest-os-virtual-box/

 

 

The way that shared folders works is that it allows the guest to share the host's folders. You want the host to share the guest's folder. To do that, you need to set up network file sharing.

Posted

Many thanks to all who have replied.

 

It turns out the underscores in the Scotts_Linux_Shared were the issue.

 

I renamed the folder to ScottsLinuxShared and can now share files between Kubuntu and Windows and also Mint Linux and Windows.

 

Scott

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...