Greg Lopp on Thu, 11 Jul 2002 15:40:56 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Program permission


On Thu, Jul 11, 2002 at 03:22:22PM -0400, Paul wrote:
> >Uh... but 600 would be read and write, no execute.
> >The octal bits are 1 for execute, 2 for write, and 4 for read.
> So it would be 500 for r-x.  Ug.  What if we just take away all 
> permissions, then use "chmod u+rx targetname"?  I know that that 
> notation has limitations, but in this case it would make things very 
> clear and simple.
Don't bother to take them away first and just do 
"chmod u=rx targetname" instead. 

Confessed ignorance : What are the limitations of the 
"chmod [OPTION]... MODE[,MODE]... FILE..." notation?

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug