[Tutor] Re:Permissions and other hairpulls

Kirk Bailey idiot1@netzero.net
Mon May 12 01:23:02 2003


I only wish the docs had been a tad more explicit.
But that was the last hairpull I can find, the thing appears to
be rather reliable now.

How are you at sh/bourne shell scripting? I need totake the now obsolete
installer and turn it into a more potent and complex one for the
now more complex tinylist. Cranking out the first one strained my talents
to the limits, and this one will be larger and more complex.

Anyone else on the list intrested as well?

Sean 'Shaleh' Perry wrote:
> On Sunday 11 May 2003 19:48, Kirk Bailey wrote:
> 
>>!$%$^*!
>>It worked!
>>Hmmm... when I am in the console and issuing commands, chmod 666
>>dead.parrot works fine; but when in the program,
>>os.chmod('/pathtoparrotcage.dead.parrot',666) barks like a dog- apparently
>>python does not like decimal data at all. BUT
>>os.chmod('/pathtoparrotcage/dead.parrot',0666) which forces it to interpet
>>it as octal expressed information WORKS LIKE A CHARM!
>>
>>WAHOO! THANKS gang, especially to magnus@thinkware.se for the heads up!
>>
>>
>>Gee, if only the docs or the website had been just a TAD bit clearer about
>>this?
> 
> 
> on the console chmod ASSUMES the input you gave it was octal so all is well.  
> I am so used to it I forgot to mention it, thanks to Magnus for noticing.
> 
> Of course, many of us use the g+w notation instead to avoid the numerical 
> pitfalls.
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 


-- 

end

Respectfully,
              Kirk D Bailey

  +------------------------------------------------------------+
  | Owner  Howler Monkey  Email:  http://www.howlermonkey.net/ |
  | Inventor of TinyList list server: http://www.tinylist.org/ |
  | Consulting freestyle Grump: http://www.sacredelectron.org/ |
  | Remember: When we referr to FREE software, we are talking  |
  |           about FREEDOM, not $PRICE$.                      |
  +------------------------------------------------------------+