Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Trying to share a folder between windows machine and VM Post 303033395 by Circuits on Thursday 4th of April 2019 05:11:09 PM
Old 04-04-2019
Trying to share a folder between windows machine and VM

I was following the guide I found here for doing this and I reached the step where I added myself to the vboxsf group but I am still getting a permissions denied message when I try to get into the folder:


Code:
ubuntu12@ubuntu12-VirtualBox: /media$ cd sf_Shared_files/
bash: cd: sf_Shared_files/: Permission denied

I checked to make sure I was part of the group:


Code:
ubuntu12@ubuntu12-VirtualBox: /media$ id ubuntu12
uid=1000(ubuntu12) gid=1000(ubuntu12) groups=1000(ubuntu12), 4(adm), 24(cdrom), 27(
sudo), 30(dip), 46(plugdev), 109(lpadmin), 124(sambashare), 999(vboxsf)

I am not sure what the problem is, any ideas?




EDIT: Permissions on the folder seem fine:
Code:
ubuntu12@ubuntu12-VirtualBox: /media$ sudo ls -la sf_Shared_files/
total 8
drwxr-x--- 2 root root 4096 Apr   4 14:35 .
drwxr-xr-x 4 root root 4096 Apr   4 14:43


Wait... for some reason the permissions are funky here cause if I back out one directory and check the media directory:


Code:
ubuntu12@ubuntu12-VirtualBox: /media$ sudo ls -la /media
total 15
drwxr-xr-x 4 root root 4096 Apr 4 14:43 .
drwxr-xr-x 24 root root 4096 Apr 4 12:10 ..
drwxr-x--- 2 root root 4096 Apr 4 14:35 sf_Shared_files
dr-xr-xr-x 5 ubuntu12 ubuntu12 2408 Jan 25 11:43 Vbox_GAs_6.0.4


so maybe the permissions aren't correct? Shuld that say ubuntu12 for sf_Shared_files?

--- Post updated at 09:11 PM ---

Ah crap I figured it out. There was a check-box called: Make Permanent which I did not check when I was setting up the folder.

Last edited by Circuits; 04-04-2019 at 06:06 PM..
 

10 More Discussions You Might Find Interesting

1. Linux

how i can share from fc5 folder

hai friends i am using fc5 i configured samba and i can access windows files and folders in my network of linux. but in windows(xp.2000) i can not access my fc5 folder. pls x-xplain me anybody what i need to do in gui of fc5 for to enable to share my files and folders to windows(my samba... (0 Replies)
Discussion started by: sadiquep
0 Replies

2. HP-UX

How to Share out a folder in Hp UX 10.20 OS

Hi all, I'm new to UNIX and recently i just being assign to work with a HP UX 10.20 Operation Systems. So i wonder if i can share out some folder in the system as this UNIX is link to another Windows base PC. My purpose is to do some auto file maintenance where i can copy/delete files in UNIX... (1 Reply)
Discussion started by: sim2004
1 Replies

3. UNIX Desktop Questions & Answers

wt is the exact procedure to share windows printer on linux machine to print from it

hi, what is the exact procedure to to set up printer on linux machine?The printer is a network hp 3050 printer configured on windows xp machine and i want to setup it on linux fc9 machine to print from it.is samba is compulsory for that? please give the exact procedure to do the same? (1 Reply)
Discussion started by: pankajd
1 Replies

4. Solaris

Best possible communication mechanism between a Solaris machine and a windows machine

hi, I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this. the constraints are > the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies

5. Solaris

how to share a folder from windows xp to solaris 8

how to share a folder from windows xp to solaris 8? with out using samba?it is possible or not for sharing a folder between windows and solaris 8 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

6. Solaris

mounting windows share folder

please help me,,i need step to mount windows share folder,,i try samba and nfs and it didnt work (in my linux server the command is fine),,can somenone give me an example for this to be done? (0 Replies)
Discussion started by: Cellscript
0 Replies

7. Solaris

mount windows share folder

all,,i need help,,i try to mount a windows 2000 share folder to my system,,i already userd smb mount,mount -F and bunch of stuff and none is working,,can anyone give me a script to this?? PS : when i use mount -F i got this message : nfs mount: insufficient privileges ,,, is it must be root ? (6 Replies)
Discussion started by: Cellscript
6 Replies

8. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

9. Red Hat

Share folder between vmware and windows

when i try to mount share folder in redhat mount share -t vmboxfs /mnt it shows no filesystem vmbox:) (4 Replies)
Discussion started by: amitbharad
4 Replies

10. Windows & DOS: Issues & Discussions

Unable to access the CIFS share folder on windows by IP

Hi All Actually I have NAS Storage and Suddenly I got problem Unable to access the CIFS share folder on windows host, however the IP is pinging and the share is accessible via share name. The share can be accessed via share name only on Windows higher Windows Versions. Any help guys (4 Replies)
Discussion started by: Abu_SM
4 Replies
gentapes(1)						      General Commands Manual						       gentapes(1)

NAME
gentapes - Produces magnetic tape distribution media SYNOPSIS
/usr/bin/gentapes [-w | -v] [hostname:] prodID devname OPTIONS
Writes the product media without verification. Do not use the -w option with the -v option. Verifies the product media without writing it first. This assumes that you have already written kit files to the distribution media. Do not use the -v option with the -w option. The -w and -v options are mutually exclusive. If neither is used, the gentapes utility writes and then verifies the product media. OPERANDS
The optional hostname: argument is the name of a remote network machine that contains the kit descriptor database. The gentapes utility searches the kit descriptor database on the remote machine for the kit identifier (prodID[TK|MT]) and uses it to create the media. The colon (:) is a required delimiter for TCP/IP networks, and space is permitted between the colon and the prodID. For example, if the prod- uct code is OAT100 and you are using the kit descriptor database on node mynode, use mynode:OAT100 for this option. The mandatory prodID operand is a kit identifier consisting of the product code and version number specified in the CODE and VERS fields of the kit's key file. Refer to the Guide to Preparing Product Kits for information about the key file. The mandatory devname operand specifies the device spe- cial file name for a no-rewind tape device such as /dev/ntape/tape0l. The gentapes utility uses the default tape density for the device and ignores any suffix specified on the command line. DESCRIPTION
Use the gentapes utility to produce MT9 or TK50 magnetic tape distribution media. The gentapes utility performs the following tasks: Deter- mines the media code (TK or MT) for the specified tape device. Appends the media code to the product code specified on the command line. Searches the kit descriptor database for the combined product code and media code. The default kit descriptor database is the /etc/kitcap file. Copies files and subsets specified in the kit description to the distribution media. If you specified verification, rewinds and reads the tape, using the sum utility to verify file transfer accuracy. Refer to the sum(1) reference page for more information about this utility. If you do not use either of the -w or -v options, the gentapes utility writes and then verifies the product media. The gentapes utility can produce multivolume tape kits and multiproduct tape kits. See the kitcap(4) reference page for information on specifying these features. RESTRICTIONS
You must have root privileges to run this program. If you use the optional hostname operand, you must have root privileges to access files on the remote host. If you do not use the optional hostname operand, you can access the files used by the gentapes utility only if you add the local hostname to the local /.rhosts file, as follows: hostname root. The -w and -v options are mutually exclusive. FILES
Device special files for no-rewind tape devices Default kit descriptor database SEE ALSO
Commands: gendisk(1), sum(1) Files: kitcap(4) Guide to Preparing Product Kits gentapes(1)
All times are GMT -4. The time now is 07:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy