chmod a-x chmod Fix?
Chasecreek Systemhouse
chasecreek.systemhouse at gmail.com
Fri Jan 6 13:44:20 UTC 2006
On 1/6/06, Scot L. Harris <webid at cfl.rr.com> wrote:
> On Fri, 2006-01-06 at 08:13, Chasecreek Systemhouse wrote:
> > Should I submit a bug report asking for a new feature? I think chmod,
> > if not other coreutils, should all be installed as 'immutable'.
> >
> > History -
> > One of my students did a chmod a-x /bin/*
> >
> > After some thought I fixed this by mounting the /bin directory onto a
> > VFat and moved the new 0755 file to linux.
> >
> > Is there a way to execute chmod when it is set 0644? Is there a way
> > to change the file permissions when chmod is disabled?
> >
> > At any rate, I set all my students chmod files to immutable (chattr +i chmod)
> >
> > Thoughts? Comments?
>
> Why did you give your students root access? If they have root access
> they can get around the quick fix you describe above.
"student learning Linux systems?"
Besides, it's not designed to "stop" them; chattr was designed to stop
and allow them to "think" one more time before they pull the trigger.
Yet again =)
Hmmm, I guess I could make them repeatedly installed Fedore Core --
and thereby drive them to hate Linux in general. Teach them to use a
system command, huh?
--
WC -Sx- Jones | http://ccsh.us/ | Open Source Consulting
More information about the fedora-list
mailing list