-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fstab not mounting bindfs mapping #60
Comments
Strange, I'm not able to reproduce the issue with a similar fstab line, although I'm just mounting an ordinary directory, not an external disk.
|
I get the same result from /Home and from /home/me/Documents/Home.
works as expected. Could it be a timing issue with the mounting of USB drives? |
So, just to be clear, here you're mounting an ordinary directory to an ordinary directory, and neither has anything to do with any USB drives? And fstab still doesn't work?
Good idea, it might be. What happens if you manually mount them in the wrong order? Another possibility is that whatever reads fstab just can't handle the same path occurring twice. |
My misunderstanding. I switched the USB drive to mount from different folders. I've tried replacing the USB partition with a local folder, and mounting it in /media/Home with the same options and that works as expected. The USB drives automount during boot; fstab mounts the bindfs drive. Neither had any effect |
Drives is set to default automount options, and the USB partitions are mounted on boot. I tried setting nofail,noauto for the partition and the same options for Bindfs, but the system wouldn't boot. |
I altered the fstab to delay the mount until the network was up:
And until I accessed the mount point:
But neither worked. |
Did you try adding the fstab lines after boot and doing the mounting manually (without rebooting)? This might give us some information. |
Was this ever figured out? I can't seem to get this to work either. |
In order to access the hard drive from my out-of-action MacBook, I attached my 'Home' partition via a USB connection to another machine. Both running Ubuntu 17.04 As I'm the second user on that PC, that machine's first user has ownership rights over my files, and I have not (due to Ubuntu using the UID- and GID-numbers to define file ownership).
Ubuntu automounts the USB drive at: /media/me/Home.
To fix the permissions to give me temporary access, I added a duplicate mount point: /media/Home and tested the command:
which, although the gid remains the other user's, gives me ownership of my files as the second user on the current system, and default ownership of any new files by uid 1000.
I added a line in fstab to achieve the same thing:
The fstab entry doesn't work - I don't have access to the mount point and my partition isn't mounted.
In Nautilus, the bindfs /media/Home partition displays the error: 'This partition could not be displayed. You do not have the permissions necessary to view the contents of "Home".
In the command line, ls -la returns:
sudo ls -la returns:
Is there something else I should do?
The text was updated successfully, but these errors were encountered: