>>chmod 777 counter.pl access_log error_log
>
>if I were you, I'd try not to use the numbers so much but rather the
>letters.  ie... chmod a+rwx gives a=all the ability to r=read w=write
>x=execute, whereas chmod a-w would take the ability for all to write.
>I believe the commands are something like 'chmod [u,g,o,a] [+,-] 
        ^^^^^^
>[r,w,x] file' u=user, g=group, o=other, a=all, +=add permission,
>-=subtract permission, r=read, w=write, x=execute.  BTW, there is also
>some other permissions you can set (like suid), but that's something
you
>can play with later.

You see? You are not even sure of the syntax yourself!

This is why it is much more useful to know the numeric method. I started
out with the alpha method, but could never remember the combinations,
and was always screwing up the permissions. When I started using the
numeric method, all my problems went away. It is *much* easier to work
with. Honest.

DL


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to