file permissions on vbox shared folder
file permissions on vbox shared folder
hi all
my host system is pardus linux. i run windows xp with vbox. i set up vbox sharing folder. and i can use it. any file or folder operations has no error. anyway
when i create a file from my vbox'd windows, it has a chmod 600 permission. when i create a file from pardus, it has a 644 permission. that is th my problem.
i want all files permissions 644, not 600.
can anyone help me?
baris.
my host system is pardus linux. i run windows xp with vbox. i set up vbox sharing folder. and i can use it. any file or folder operations has no error. anyway
when i create a file from my vbox'd windows, it has a chmod 600 permission. when i create a file from pardus, it has a 644 permission. that is th my problem.
i want all files permissions 644, not 600.
can anyone help me?
baris.
-
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
Create a script to do it automatically on certain times? What folder are you sharing? Is it a folder in your Home Directory? If so, than it's logical, as only you should be able to write to it and nobody else.
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.
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.
it is not usefull solution. i already use manuel script. but it is very boring. after every save i must set permissions.Sasquatch wrote:Create a script to do it automatically on certain times?
my shared folder under my home dir. /home/baris/wwwSasquatch wrote:What folder are you sharing? Is it a folder in your Home Directory?
i dont understand what u mean?Sasquatch wrote:If so, than it's logical, as only you should be able to write to it and nobody else.
-
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
Your home folder is a personal folder, meaning no other user should have access to it. If you would create a new user, you would not be able to access the new user's home folder with your account and vice versa. By changing the permission you create a security risk too. Why do you want to change it anyway? If you run a website, isn't it better to run that outside your home folder? You can easily create a new folder and make yourself the owner of it and set it to 644 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.
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.
where ever i create a folder there is same problem. when i create a folder from vbox's windows it has 600 not 644. it is not impoartont to me thar folder where it is? inside home or root. i dont want any other script or such things to change permission to 644.
but i think there is no solution. maybe only samba shares.
anyway thanks a lot.
but i think there is no solution. maybe only samba shares.
anyway thanks a lot.
-
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
Are you sure that a shared folder on /virtualboxshare will give the same 600 permissions? As I have an NTFS drive that I share with SF, it has the same permissions when I create a file or folder on it using the Guest as if I use the Host system. But then again, I have it mounted with some additional options. Just try this and report back.
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.
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.
ok. i use pardus linux as host system. i setup windows xp in vbox. i share a folder /home/baris/www on host (pardus linux). when i write any file on this shared folder from vbox it has 600 (on host's files system which is ext3).
i dont write anything ntfs, i dont share anything on ntfs.
i write on ext3 file system via vbox shared folder.
i dont write anything ntfs, i dont share anything on ntfs.
i write on ext3 file system via vbox shared folder.
-
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
I hate repeating myself, but I guess I have to. Create a folder /virtualboxshare and give yourself ownershipt and 644 permissions on it. Now access that folder through shared folders and put a file (doesn't matter what) on it and check with the Host what permissions it has. Does it have 644 or 600?
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.
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.
Re: file permissions on vbox shared folder
This is also bug 1776:mbunal wrote: my host system is pardus linux. i run windows xp with vbox. i set up vbox sharing folder. and i can use it. any file or folder operations has no error. anyway
when i create a file from my vbox'd windows, it has a chmod 600 permission. when i create a file from pardus, it has a 644 permission. that is th my problem.
http://www.virtualbox.org/ticket/1776
The shared folders driver is not fully implemented yet and does not correctly convey permissions between the host and guest sides.