[Top][All Lists]

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

Re: [Help-smalltalk] directory creation mode

From: Alexander Lazarevic
Subject: Re: [Help-smalltalk] directory creation mode
Date: Thu, 18 Apr 2002 19:19:08 +0200


> if mode 0777 at all, which is global write access, you would have to make
> it 01777 actually, [...]

I don't think so. The program mkdir also uses the mode 0777 for newly created 
directories, which you will see if you do

umask 0; mkdir /tmp/see; ls -ld /tmp/see

Because in most cases the umask is set to 022, directories created with 
Directory class>>create: (or mkdir) will have a mode of 0755.
This is the behaviour I'd expect from Directory class>>create: . If you want 
a different mode for newly created directories you are free to use Directory 
class>>primCreate:mode: directly.


PS: This all is based on what I know/see on my linux box. This might be 
terribly wrong with other unices/OS! :)
"Ich bin Italiener. Wie kann ich da Liebe machen in einem Zimmer mit
einem Deutschen Schäferhund?" -- Joey Boca in "I Love You to Death"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]