Fedora 19 Can't Access Shared Folders
-
Trysis
- Posts: 51
- Joined: 12. Apr 2013, 22:06
- Primary OS: MS Windows 8
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, assorted; Windows 7; Windows 8.1
Re: Fedora 19 Can't Access Shared Folders
Why gid=0 and uid=1000, if I may ask? It seems strange to have a file belong to a user which is not in the group it also belongs to.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Fedora 19 Can't Access Shared Folders
Did you type id in a normal terminal?
was your gid the same as the uid?
was your gid the same as the uid?
-
Trysis
- Posts: 51
- Joined: 12. Apr 2013, 22:06
- Primary OS: MS Windows 8
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, assorted; Windows 7; Windows 8.1
Re: Fedora 19 Can't Access Shared Folders
What are you asking about? I was saying in your previous post you said to put uid=1000, gid=0. It just seems kind of strange to do it this way, as 1000 is the user and 0 is root.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Fedora 19 Can't Access Shared Folders
My fedora 19 I am in the root group, thus the 0. It is this way because I build rpm packages for distribution on this guest.
You just need to see what your group is. It may be 1000, or 0, what ever. Your -o just needs to match your permission level.
You just need to see what your group is. It may be 1000, or 0, what ever. Your -o just needs to match your permission level.
-
Trysis
- Posts: 51
- Joined: 12. Apr 2013, 22:06
- Primary OS: MS Windows 8
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, assorted; Windows 7; Windows 8.1
Re: Fedora 19 Can't Access Shared Folders
Relax, I was just wondering. Personally, I try never to allow myself to remain root longer than necessary.
Anyway, it's still not working. This is starting to bum me out even more.
Anyway, it's still not working. This is starting to bum me out even more.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Fedora 19 Can't Access Shared Folders
Did you set the file executable?
What do you see if you run /etc/rc.d/rc.local from the terminal as su or sudo
post the results of ls -Al /etc/rc.d/rc.local
What do you see if you run /etc/rc.d/rc.local from the terminal as su or sudo
post the results of ls -Al /etc/rc.d/rc.local
-
Trysis
- Posts: 51
- Joined: 12. Apr 2013, 22:06
- Primary OS: MS Windows 8
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, assorted; Windows 7; Windows 8.1
Re: Fedora 19 Can't Access Shared Folders
I set the file's permissions as 755 (rwx for root, rx for everyone else), so yes, it is executable for anyone that can access it. Executing it does work, but for some reason it doesn't execute automatically at boot time. Do I need to do anything special to get it to do this now that the Fedora people are determined to make sure I can't?
[sean@localhost ~]$ ls -Al /etc/rc.d/rc.local
-rwxr-xr-x. 1 root root 233 Nov 18 22:29 /etc/rc.d/rc.local
Edit - Sorry, I thought the first line you told me to put in rc.local was a comment. After reading some forum somewhere and seeing the error of my noob ways, I have placed it in and will see if it works when my VM reboots.
Edit 2 - It works! All is well. I have become a little less noobish at Linux and hopefully helped someone from the future with this problem as well. One more thing, though. With Fedora doing away with rc.local and fstab not being parsed at the right time, what can we mere mortal VBox+Fedora users do in the future to get our shared folders to be mounted at system time? Besides, you know, mounting them from the Internet somehow (shudder).
[sean@localhost ~]$ ls -Al /etc/rc.d/rc.local
-rwxr-xr-x. 1 root root 233 Nov 18 22:29 /etc/rc.d/rc.local
Edit - Sorry, I thought the first line you told me to put in rc.local was a comment. After reading some forum somewhere and seeing the error of my noob ways, I have placed it in and will see if it works when my VM reboots.
Edit 2 - It works! All is well. I have become a little less noobish at Linux and hopefully helped someone from the future with this problem as well. One more thing, though. With Fedora doing away with rc.local and fstab not being parsed at the right time, what can we mere mortal VBox+Fedora users do in the future to get our shared folders to be mounted at system time? Besides, you know, mounting them from the Internet somehow (shudder).
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Fedora 19 Can't Access Shared Folders
Yes the first line must be there and defines the file as a shell script.
Well everything is moving forward and we can only hope that the developers continue to use some of the old systemd code. SystemV has its merits but there needs to be more thought before pulling code plugs and their consequences.
That said, there's usually a work-around and hopefully there will always be someone that can hack the system. ( it's open source after all )
Well everything is moving forward and we can only hope that the developers continue to use some of the old systemd code. SystemV has its merits but there needs to be more thought before pulling code plugs and their consequences.
That said, there's usually a work-around and hopefully there will always be someone that can hack the system. ( it's open source after all )
-
Trysis
- Posts: 51
- Joined: 12. Apr 2013, 22:06
- Primary OS: MS Windows 8
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, assorted; Windows 7; Windows 8.1
Re: Fedora 19 Can't Access Shared Folders
True, true. Maybe VirtualBox could take this time to improve its "automount" capabilities and have them propagate instantly to the host rather than making us wait till the VM shuts down. Of course that would open up a whole other can of worms and other assorted bugs.