Skip to main content

All Questions

Tagged with
1 vote
1 answer
2k views

Can’t use sudo after umount —all

I tried to unmount all of my fstab mounts by using: sudo umount --all Right after that i tried to remount everything by using: sudo mount -a But got this error: sudo: effective uid is not 0, is /...
Michael yarshansky's user avatar
0 votes
1 answer
656 views

Ubuntu / systemd fails to mount bindfs mount on boot

On my Ubuntu 20.04.3 LTS server running as KVM VM, I have defined 4 custom mount points in order to access the host's filesystem. Two of them are 9p mounts and two of them are bindfs mounts that are ...
giannoug's user avatar
  • 101
3 votes
1 answer
16k views

How to write and save changes to “/etc/fstab” after effectively breaking the “/etc/fstab” on my system. Can only boot to basic terminal

To make a long story short, and to focus the question, I basically need to get root access to my own laptop running Linux Mint to be able to save my changes to the /etc/fstab file. More details: I'm ...
puppydrum64's user avatar
1 vote
0 answers
245 views

Linux Kernel 5.15.1, fstab umask=0022, mount command shows fmask=37777600022,dmask=37777600022

I downloaded and compiled the linux-cacule (5.15 for native ntfs3 support) kernel from the AUR repo. Following the documentation here on the new ntfs3 mount option: https://www.kernel.org/doc/html/...
shayaknyc's user avatar
0 votes
1 answer
225 views

Ubuntu: Automount /etc/fstab with mount -a, does it disrupt already mounted devices?

Say I have /dev/sdb and /dev/sdc already mounted and I am currently copying files from one to the other. Can I safely edit /etc/fstab to also include yet unmounted /dev/sdd and do mount -a to mount it?...
Julian Habekost's user avatar
0 votes
1 answer
585 views

umask=0 leads to mount error 32

Like the title say I have some ext4 that mounts well without umask but are innacessible because of permissions, but leads to error wrong fs type when mounted with umask=0 I'm on a live USB. So fstab ...
user1148733's user avatar
0 votes
1 answer
501 views

mounting a RAID in /etc/fstab

Hi I have a raid mounting in /etc/fstab /dev/md/debian\:0 /home ext4 defaults 0 0 but if I do mount -a It gives me error mount: /home: special device /dev/md/...
Brokolicový Džuß's user avatar
1 vote
0 answers
185 views

Mounting an AFP share over/to ~/Pictures, possible stale share issue (Mac OS X, Big Sur)

I'm trying to over mount an AFP share onto ~/Pictures, and it's not quite working for some reason. Useful information: I'm using AutoMounter (Pro features enabled, full-disk access granted via System ...
pktm's user avatar
  • 11
0 votes
1 answer
785 views

Mismatch between /etc/fstab and /etc/mtab

I have a mismatch between /etc/fstab and /etc/mtab. # cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount pt> <type> <options> &...
JohnyTex's user avatar
  • 337
0 votes
1 answer
640 views

Fstab: Set permissions of subdirectory

So I have this in my /etc/fstab: UUID=B6C6ECB5C6EC76D1 /windows ntfs-3g defaults,uid=1000,gid=1000,permissions 0 0 My ssh-folder is in this partition, as a result I need to set the ...
TornaxO7's user avatar
0 votes
1 answer
3k views

How to write -o permission into /etc/fstab?

Set usermap. sudo ntfsusermap /dev/sdb2 #assign user as www-data #assign group as www-data Mount ntfs partition /dev/sdb2 with /mnt/winntfs. sudo ntfs-3g -o permissions /dev/sdb2 /mnt/winntfs Now ...
showkey's user avatar
  • 161
3 votes
1 answer
15k views

Remove noexec from /tmp permanently

From a cloud provider I received a RHEL 7 VM which has noexec set on /tmp. [user@myserver]mount | grep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,seclabel) /dev/mapper/SystemVG-var_tmp on /...
onknows's user avatar
  • 827
0 votes
1 answer
437 views

SSH mount via fstab fails because of root ssh passphrase

At work, we have a dev environment I want to mount so I can work on it locally on Arch with i3 (Manjaro i3). I have SSH and an SSHFS mount set up on my devenv which runs without issues, along with ...
Silan's user avatar
  • 1
0 votes
1 answer
1k views

How do I mount a filesystem without the mount point changing owner to root?

I have two samba shares on a remote server (Debian 10, stable) on my home network. On my laptop (Debian 10 stable), I would like to automatically mount these shares to my local filesystem tree. To ...
PatMcTookis's user avatar
0 votes
1 answer
50 views

x2darray.mount systemd automount unit

I am trying to develop a better understanding of how luks [auto]decrypting and fs [auto]mounting operate under systemD, based on observations as I work through some issues setting up a replacement ...
some bits flipped's user avatar

15 30 50 per page
1
2
3 4 5
11