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
mhpath(1)						      General Commands Manual							 mhpath(1)

NAME
mhpath - print full pathnames of MH messages and folders (only available within the message handling system, mh) SYNOPSIS
mhpath [+foldername] [msgs] [-help] OPTIONS
Prints a list of the valid options to this command. DESCRIPTION
Use the mhpath command to display the full pathname of the specified folder. If you do not specify a folder, mhpath displays the pathname of the current folder. If you specify a message with its message number, mhpath displays the pathname of the specified message. You can also specify a number of messages, or a range of messages. If the top of the range that you specify is greater than the last message in the folder, mhpath displays as much of the specified range as possible. Additionally mhpath can take a keyword or a sequence name. The following keywords are acceptable: The first message in the folder. The last message in the folder. The message after the last message in the folder. You cannot use new as part of a message range. The current message in the folder. The message before the current message. The message after the current message. All of the messages in the folder. PROFILE COMPONENTS
Path: To determine your Mail directory EXAMPLES
In the following example, mhpath displays message 3 in the folder +inbox: % mhpath +inbox 3 /r/phyl/Mail/inbox The following example dis- plays the pathname of messages 2 to 5 in the current folder: % mhpath 2-5 /r/phyl/Mail/inbox/2 /r/phyl/Mail/inbox/3 /r/phyl/Mail/inbox/4 /r/phyl/Mail/inbox/5 FILES
The user profile. SEE ALSO
folder(1) mhpath(1)
All times are GMT -4. The time now is 09:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy