[ic] Usertag and permissions on create file

Mike Heins mike at perusion.com
Fri Sep 19 16:33:18 UTC 2008


Quoting Davor Ocelic (docelic at spinlocksolutions.com):
> On Fri, Sep 19, 2008 at 05:10:42PM +0200, m.mescoli at omnib.it wrote:
> > Perl beginner.
> > 
> > With an usertag i create a png plot file with umask permission 0660. 
> 
> You can set permission 660 or umask 117, that's how it works.

No. You never set an octal 1 on a segment umask. That
is the executable bit, and the effect on umask changes as
a file or directory is created.

So it is 007, or 022, or 002. Never 012.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  tollfree 800-949-1889 <mike at perusion.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun



More information about the interchange-users mailing list