Re: Strange mount behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2022-06-03 at 11:53 +0100, Patrick O'Callaghan wrote:
> I have a couple of /etc/fstab entries which include the options 
> "noauto,nofail,user,x-systemd.automount", yet when I reboot the
> system
> those entries are being mounted, despite the "noauto".
> 

It turns out that using x-systemd.automount means that noauto is
ignored.

> Furthermore, under my user account I can't access them:
> 
> $ sudo ls -ld GDrive/Media/
> drwxrwxr-x. 1 poc poc 16 Feb 19 10:46 GDrive/Media/
> 
> $ sudo ls -l GDrive/Media/
> total 0
> drwxr-xr-x. 1 root root 0 Jun  3 11:24 Movies
> drwxr-xr-x. 1 root root 0 Jun  3 11:24 TV
> 
> $ ls GDrive/Media/
> ls: cannot access 'GDrive/Media/TV': Permission denied
> ls: cannot access 'GDrive/Media/Movies': Permission denied
> 
> The mounting is done via Rclone, if it matters. If I run it manually
> as
> myself it works as expected, so apparently this is somehow being
> caused
> by systemd running as root., even though the directory permissions
> appear to be as they should.
> 
> Is there a way to fix this without having to create a separate
> systemd
> mount unit?

Can't be bothered delving into this. I just removed the automount
option and will mount with a login script, which is what I actually
want anyway.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux