FEDORA 43 : Can't create folder in /mnt even with sudo rights

Hi, not sure if this is a bug with Fedora 43 or not but I seem to not be able to create a folder inside of /mnt . I used to be able to do this in Fedora 42 but now if I run the following command

sudo mkdir /mnt/whatever

I get a permission denied.

Any idea how to fix this or what could be wrong?

Can you check: ls -laZ /mnt
mine looks like:

drwxr-xr-x. 1 root root system_u:object_r:mnt_t:s0    0 Nov 16 16:29 .
dr-xr-xr-x. 1 root root system_u:object_r:root_t:s0 168 Aug 23 16:18 ..

Mine looks like this…

I’m not sure if this could be the problem but…. I am using autofs to mount folders from my NAS using CIFS… Could this prevent me from creating a new folder inside /mnt? But we clearly see autofs seems to have appropriated itself rights here…….

Looks like I found my problem @jonbjoseph . I assigned /mnt to auto.cifs which mounted stuff into it, hence preventing me from creating anymore. So I’ll have to do that mounting elsewhere.

2 Likes