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

Re[2]: I know, I know - Stupid Question:



yes and no.  For most purporses, chmod 0755 == chmod 755.  However,
when you get into more sophisticated permissions (sticky bit, dirty
bit, etc) that's when the leading 0 comes into play.  For instance,
when you see something with the following permissions:

rwsr-xr-x

the permissions are "4755"

--
PC Drew


Thus spake Scott Ehrlich on Friday, September 01, 2000, 6:40:52 PM:

SE> As a curiosity, doesn't chmod 0755 = chmod 755?  Isn't the leading zero an
SE> extra, un-necessary character?

SE> Scott

SE> On Fri, 1 Sep 2000 whyzzi@themail.com wrote:

>> 
>> >if they aren't '-rwxr-x-r-x' they need to be...
>> >$chmod 0755 /usr/bin/pico
>> >should do the trick...
>> 
>> Yes, thank you! It works very nicely now...
>> 
>> Peter Verhagen
>> --------------
>> "I know too much, and yet not enough"
>>  
>> __________________________________________________________________
>> Make A Buck Or Two @ TheMail.com - Free Internet Email
>> Sign-up today at http://www.themail.com/ref.htm?ref=23808 
>> 
>> 
>>