SPUG: A more complicated question

Ken McGlothlen mcglk at artlogix.com
Fri Jan 11 17:00:53 CST 2002


"Pommert, Daniel" <Daniel.Pommert at verizonwireless.com> writes:

| Ken is right.

Ooo.  Say that again.  I hear it so rarely.  :)

| Also, I should have made a better choice about directory permissions than
| using the file's permission.  Garrett, this is a point in which your problem
| is under-specified.  Your meta-data file does not say what the directory
| permissions should be.  Perhaps your umask() is the best choice.

Yeah, there is that.  I'd considered adding something like

        my $dirperm = $fperm | 0111;

but that was outside the scope of the original problem.


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list