sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313)
- From: Thomas Orgis <thomas-forum AT orgis.org>
- To: sm-commit AT lists.ibiblio.org
- Cc: Vlad Glagolev <stealth AT tiberian.ru>
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313)
- Date: Wed, 22 Apr 2015 16:13:20 +0200
Am Wed, 22 Apr 2015 12:07:21 +0300
schrieb Vlad Glagolev <stealth AT tiberian.ru>:
> we can't simply remount, because that will keep 'exec' option.
Really?
bash-4.3# grep /boot /etc/fstab
/dev/sda1 /boot ext2 defaults,noexec,nosuid 0 2
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
bash-4.3# mount -o remount,noexec /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
bash-4.3# mount -o remount,exec /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,nosuid)
bash-4.3# mount -o remount /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
bash-4.3# vim /etc/fstab
bash-4.3# grep /boot /etc/fstab
/dev/sda1 /boot ext2 defaults,nosuid 0 2
bash-4.3# mount -o remount,exec /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,nosuid)
bash-4.3# mount -o remount /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,nosuid)
bash-4.3# umount /boot
bash-4.3# mount /boot
bash-4.3# mount | grep boot
/dev/sda1 on /boot type ext2 (rw,nosuid)
> we must check for noexec option for /tmp in current /etc/fstab.
Sure … to avoid messing with the mount to begin with. But I still have
the impression that remounting without further options restores the
options in fstab. Is that wrong?
Alrighty then,
Thomas
Attachment:
pgpqi7_cQytTF.pgp
Description: Digitale Signatur von OpenPGP
-
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
- Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313), Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
Archive powered by MHonArc 2.6.24.