[[+content_image]]
K
K
ksvdon2016-05-18 12:49:16
linux
ksvdon, 2016-05-18 12:49:16

How to remount a partition to remove the noexec option?

After installing cPanel, I observe this thing:

[[email protected] ~]# mount
/usr/tmpDSK on /tmp type ext3 (rw,nosuid,noexec,relatime,data=ordered)

as I understand it, for this reason "noexec" I cannot execute scripts that are in "/tmp". I need to remove this option. For the first time I encounter this case, please tell me how to remount? Ideally, so as not to disrupt the operation of cPanel (for some reason, cPanel made such a setting).

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
M
Maxim Moseychuk, 2016-05-18
@ksvdon

sudo mount -o remount,exec /tmp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question