Subj : Re: Lose execute privileges on owner files? To : comp.os.linux From : mutant Date : Thu Sep 30 2004 10:52 am On Wed, 29 Sep 2004 10:05:02 -0700, RJGraham wrote: > Hello, > > I've been developing a C++ app under linux for a few months and for the > last week have started seeing a problem where my executables and shell > scripts are losing owner execute permission. > > For example, I have a bash shell script that I chmod to 777. > > I can execute it, it works fine. > Then after a while, I find I can't run this same script because it now > does not have owner execute privileges (ie. seems that it has chmod'd to > 677). If I chmod it to 777 it works fine again. > > Unfortunately, I can't narrow down a sequence of events that cause this > to happen. I'm not touching these files other than to chmod them back to > 777 as required when they get 'flipped'. > > FWIW, I'm running RH 9 distro with bash shell. > > Thanks for any help. > > -Randy Do not su to root. Use a terminal window: logon on as root and then chmod. .