unable to access to shared folder

Discussions about using Linux guests in VirtualBox.
Post Reply
alessio211734
Posts: 5
Joined: 7. Nov 2012, 15:11

unable to access to shared folder

Post by alessio211734 »

Please,
I need help, I installed virtual box on my windows seven home, and I create a virtual machine with ubuntu 12.04 and I unable to open the shared folder.
I shared a folder on my seven hard disk and I put the same into virtualbox. When I try to access to folder from ubuntu I get permession denied.
if I do: sudo ls -l sharedfolder I get the files into folder by I am unable to access to them. I set complete control on the folder in seven and in the security tab I add to everyone
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: unable to access to shared folder

Post by noteirak »

Are you supplying credentials when you connect from your linux guest?
"Everyone" means everyone that is authenticated, it does not include any guest account by default!

Also, did you allow file sharing in the firewall AND in the sharing properties of the network center?
By default these 2 are set to block file sharing.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
alessio211734
Posts: 5
Joined: 7. Nov 2012, 15:11

Re: unable to access to shared folder

Post by alessio211734 »

noteirak wrote:Are you supplying credentials when you connect from your linux guest?
"Everyone" means everyone that is authenticated, it does not include any guest account by default!

Also, did you allow file sharing in the firewall AND in the sharing properties of the network center?
By default these 2 are set to block file sharing.
firewall is down but the problem remain. I login with my username into ubuntu, no as guest.
I should add something in the security tab of windows folder I put everyone and System administrator my user...
I forget to say that my folder is readOnly and I cant remove the flag.
alessio211734
Posts: 5
Joined: 7. Nov 2012, 15:11

Re: unable to access to shared folder

Post by alessio211734 »

I resolved my problem with sudo -i I get the root and I access to my folder but I don't understand how get privilege to access as simple user
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: unable to access to shared folder

Post by Perryg »

Sounds like you are using the automatic mount feature. In that case you need to add your user name to the (guests) vboxsf group.

See 4.3.2 Automatic mounting (guest additions) in your VirtualBox users manual.

Note: moving to Linux guest
alessio211734
Posts: 5
Joined: 7. Nov 2012, 15:11

Re: unable to access to shared folder

Post by alessio211734 »

The problem remain because even if I can access with sudo -i to shared folder I cant write into it, its protected in readmode the folder and I cant remove the readonly flag :|.
I try remove the flag in windows 7 but after I remove the flag it reappears :|
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: unable to access to shared folder

Post by Perryg »

Choose another folder, or create a folder specific for shared data.
alessio211734
Posts: 5
Joined: 7. Nov 2012, 15:11

Re: unable to access to shared folder

Post by alessio211734 »

every folder that I create on my partition have the readonly flag and it cant be removed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: unable to access to shared folder

Post by Perryg »

Nothing more I can say. OS specific issues should be directed to the forum of the OS.
Post Reply