Page 1 of 1

files perrmission in shared folders

Posted: 25. Jul 2009, 17:34
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

Re: files perrmission in shared folders

Posted: 25. Jul 2009, 17:40
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.

Re: files perrmission in shared folders

Posted: 25. Jul 2009, 17:56
by arturus
-rw------- 1 root root - this is permission in linux folder, after moving from VM.

Re: files perrmission in shared folders

Posted: 25. Jul 2009, 18:00
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).

Re: files perrmission in shared folders

Posted: 25. Jul 2009, 18:18
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

Re: files perrmission in shared folders

Posted: 25. Jul 2009, 18:24
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.