home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!ucla-cs!frazier
- From: frazier@kona.cs.ucla.edu (Gregory Frazier)
- Subject: Re: Need help globbing.
- Message-ID: <1993Jan4.184214.5711@cs.ucla.edu>
- Sender: usenet@cs.ucla.edu (Mr Usenet)
- Nntp-Posting-Host: simon.cs.ucla.edu
- Organization: UCLA, Computer Science Department
- X-Newsreader: Tin 1.1 PL5
- References: <1i75peINN9pm@crcnis1.unl.edu>
- Date: Mon, 4 Jan 93 18:42:14 GMT
- Lines: 22
-
- Russell Mosemann (mosemann@unlinfo.unl.edu) wrote:
- :
- : What's wrong with this?
- :
- : chown($uid, $gid, <"$home/.*">);
- :
- : I get "csh: Permission denied.". I've tried various combinations of
- : <${home}/.*>, <${home}/.??*>, <${"$home/.*"}> (heh), etc., but that doesn't
- : work, either. The script is running setuid to root, and a previous line
- :
- : chown($uid, $gid, $home);
- :
- : works fine. Thanks.
-
- The problem is that you are trying to change the ownership and
- group of "~/..", which is not yours to change.
-
- --
- "They thought to use and shame me but I win out by nature, because a true
- freak cannot be made. A true freak must be born." - K. Dunn, _Geek Love_
-
- Greg Frazier frazier@CS.UCLA.EDU !{ucbvax,rutgers}!ucla-cs!frazier
-