You should NOT give write permission to everybody on any script... this
is an ENORMOUS security hole.
i don't use ppp, but i assume that ppp-on should be chmod 755 and that
every command used in ppp-on should be executable by anyone that needs
ppp.
-----Message d'origine-----
De: robert smyth [SMTP:[EMAIL PROTECTED]]
Date: mardi 4 ao�t 1998 06:45
�: Mike
Cc: linux-newbie
Objet: Re: file permission
On Mon, 3 Aug 1998, Mike wrote:
> Hello again, I have a question(again).
> First a BIG THANX to all the help that I have gotten here in the past.
> You guys are a real life saver, and hair saver :)
> On my system running Red Hat 5.1
> I made an accnt for root, and anotherone we'll call mike.
> When I log on as root and change my ppp-on file (or any other file for
> that matter) and use chmod 600 ppp-on..........it saves the file and
> everything looks like it's suppost to.
> NOW when I log on as mike and try and run /etc/ppp/ppp-on I get an
> error something like permission denied even though I think I should
have
> the permission to run it....useing ls -l it says I do...
> What am I doning wrong???
> Thanx in advance.............Mike
>
>
chmod 600 ppp-on gives read and write permission for ppp-on to the owner
of ppp-on.
chmod 777 ppp-on would give read, write and execute permission to
everyone.
You should make sure you have the appropriate permissions set on any
file that ppp-on executes, as well as on ppp-on itself.
--rws