- Click "Setting" on the Oracle VM VirtualBox Interface
- Navigate to "Shared Folder" tab.
- Add a shared folder. You need to specify the path of the folder and the name of the folder you calling it.
- Start your Linux VM and open a terminal session as root user.
su root
- Make a directory in "/media/" directory called "delivery".
mkdir delivery
- Execute "mount -t vboxsf "
mount -t vboxsf Desktop /media/delivery
Useful Linux Commands
Given below are useful commands that may be useful to you when you are copying over files.
To copy an entire directory:
- cp -r pathToDir
- chown -Rf owner:group
- chmod
- E.g. chmod 777 myfile
The second number is the permission for group.
The third number is the permission for other users.
4 = read
2 = write
1 = execute
# | Permission | |
---|---|---|
7 | full | |
6 | read and write | |
5 | read and execute | |
4 | read only | |
3 | write and execute | |
2 | write only | |
1 | execute only | |
0 | none |
No comments:
Post a Comment