Accidentaly I have removed my /mnt directory... how can I restore it? with the exact permissions and etc???

This directory was empty.

  • Have you tried extracting it from your backup? Such a minor problem is an excellent "exercise" to see if your backup/restore strategy is working. – Anthon Jan 15 '15 at 7:49

Create /mnt as root and:

chmod 755 /mnt
  • Any thing else? uid or ETC? – MLSC Jan 15 '15 at 7:27
  • sudo mkdir /mnt, sudo chmod 755 /mnt, that's enough. owner and group are all 'root' – zhangjie Jan 15 '15 at 9:10

Yes, all you have to do is to (as root)

 mkdir /mnt
 chmod 755 /mnt

The chmod is necessary to ensure that the mountpoint works correctly.


From TLDP:

This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run

This means you can simply create the /mnt directory as instructed in the other answers. Since there was nothing mounted under /mnt and it was empty, nothing to worry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.