0

In my system, a user can mount a device to a directory. I want to prevent user from mounting device to /home directory using mount command.

What is the way to disallow mounting to a specific folder?

  • Without root, I don't think they can mount to /home so what is the problem? – Gerhard Burger Jun 22 '16 at 6:59
  • I have faced this issue as some user has mounted /home directory. – doptimusprime Jun 22 '16 at 7:06
  • With root? Because then I think there is not much you can do... – Gerhard Burger Jun 22 '16 at 7:40
  • Yes. With root. – doptimusprime Jun 22 '16 at 11:41

Your Answer

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

Browse other questions tagged or ask your own question.