home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7653 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  806 b 

  1. Path: sparky!uunet!wupost!crcnis1.unl.edu!unlinfo!mosemann
  2. From: mosemann@unlinfo.unl.edu (Russell Mosemann)
  3. Newsgroups: comp.lang.perl
  4. Subject: Need help globbing.
  5. Date: 3 Jan 1993 16:55:10 GMT
  6. Organization: University of Nebraska--Lincoln    
  7. Lines: 14
  8. Distribution: world
  9. Message-ID: <1i75peINN9pm@crcnis1.unl.edu>
  10. Reply-To: mosemann@unl.edu
  11. NNTP-Posting-Host: unlinfo.unl.edu
  12. Summary: What's wrong with this?
  13. Keywords: Globbing.
  14.  
  15.    What's wrong with this?
  16.  
  17.       chown($uid, $gid, <"$home/.*">);
  18.  
  19.    I get "csh: Permission denied.".  I've tried various combinations of
  20. <${home}/.*>, <${home}/.??*>, <${"$home/.*"}> (heh), etc., but that doesn't
  21. work, either.  The script is running setuid to root, and a previous line
  22.  
  23.       chown($uid, $gid, $home);
  24.  
  25.    works fine.  Thanks.
  26. --
  27. Russell
  28. mosemann@unl.edu
  29.