Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Luter 345 Experiments
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
VirtualBox Installation with Centos 7
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Step 9: Fix Permission Problems ==== Even though we set things up with 'Access=Full' above, there is one remaining step to realizing that situation. We must add the local user to the vboxsf group. Carry out the following steps from a terminal window: <syntaxhighlight lang="bash"> sudo vigr </syntaxhighlight> and enter your password. This will take you into the system groups file. Use the down-arrow key to go to the bottom of the file, to the line that begins with vboxsf. You will need to add the local user account name to this line. Hit "i" to go into insert mode. Use the right arrow key to go to the end of the line, and add the local user account name. Hit "Ctrl+[" to get out of insert mode. Hit ":" to get to the command line mode of the editor. Type "wq" to save changes and exit. We will now do the same thing to the shadow group file: <syntaxhighlight lang="bash"> sudo vigr -s </syntaxhighlight> and enter your password. This will take you into the system shadow groups file. Use the down-arrow key to go to the bottom of the file, to the line that begins with vboxsf. You will need to add the local user account name to this line. Hit "i" to go into insert mode. Use the right arrow key to go to the end of the line, and add the local user account name. Hit "Ctrl+[" to get out of insert mode. Hit ":" to get to the command line mode of the editor. Type "w!" to force the saving of changes (this is a read-only file so we have to force it). Then, type "q" to exit the file. Log out of the Linux VM and then log back in. If you execute the command 'groups' from a terminal window that your local account will now below to the vboxsf group, as well as its own default group and the wheel group. If desired, you can make a symbolic link in your home directory to the shared folder with: <syntaxhighlight lang="bash"> cd ln -sf /media/sf_Downloads HostDownloads </syntaxhighlight> If you open the sf_Downloads icon on the Desktop, you should now see the Downloads folder on the host operating system. This will now allow you access to these files, and as well, you can put files created in the VM into this folder, and your host OS will have access to them!
Summary:
Please note that all contributions to Luter 345 Experiments may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Luter 345 Experiments:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)