files perrmission in shared folders

Discussions related to using VirtualBox on Linux hosts.
Post Reply
arturus
Posts: 5
Joined: 24. Jan 2009, 22:44

files perrmission in shared folders

Post by arturus »

Hello. Like I wrote in the title, I have problem with files permission in shared folder. When I save something in shared folder under VB win XP, i have to change permission for this, because i can't open it. Is any possibility to change it?

Thanks in advance.
arturus
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: files perrmission in shared folders

Post by Sasquatch »

What are the permissions of files already in the folder and what are they after you put a file in it from the VM? There was a bug fix in the 3.0.2 release (could be 3.0.0 though) where files saved in shared folders ended up with 600 permissions.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
arturus
Posts: 5
Joined: 24. Jan 2009, 22:44

Re: files perrmission in shared folders

Post by arturus »

-rw------- 1 root root - this is permission in linux folder, after moving from VM.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: files perrmission in shared folders

Post by Sasquatch »

So what are the permissions supposed to be? If the files are created or changed with root only access, it means you run the VM as root, which is a very bad idea. VMs and any other program should be ran as user, unless you have a very good reason to it (like running a package manager for updating your system).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
arturus
Posts: 5
Joined: 24. Jan 2009, 22:44

Re: files perrmission in shared folders

Post by arturus »

Ok, you're right but...
When I try lounch virtualbox via activator i can't do it, because I don't have permission.
When I try lounch virtualbox via consol - I can't do it too, because virtualbox-ose isn't installed.
So how should i do it?
Sorry for this stupid question, but like you see, I'm not good in Linux:)

my distribution - ubuntu newest
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: files perrmission in shared folders

Post by Sasquatch »

To run VB from the command line, you run VirtualBox. Linux is case sensitive. If you don't have permission, it's because you're not a member of the vboxusers group. Check the VirtualBox FAQ for the command to add yourself to it. You can do it from the GUI, but I prefer the command line, as it's independent of the environment you use (Gnome, KDE, Xfce, Fluxbox, etc).

Since you're not so good with Linux, you might want to read some forums and howto's on the net to get a better feel about it. Getting a book from the library is a good start too (or a book store ;)). Experiment with it a bit (preferably in a VM, so you can mess it up). Good luck.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply