On Friday, March 30, 2001, at 05:30 PM, Alexandre Siufy wrote:
> On Friday, March 30, 2001, at 07:26 PM, Gary Blackburn wrote:
>
>>
>> I just tried to use the perldoc command from the command line and got
>> this error:
>>
>> [localhost:/var/tmp] gary% perldoc perldoc
>> Can't open /var/tmp/tmp.0.000366: Permission denied at
>> /usr/bin/perldoc line 331.
>>
>> Has anyone else had this problem? (It happens no matter what doc I'm
>> trying to access.) Perhaps there's something wrong with my Perl
>> installation that someone more Unix-y than myself can identify?
>
> Have you reinstalled/compiled Perl or are you using the default
> install?
> It works just fine here...
> Perhaps you could do an 'ls -l /var' and an 'ls -l /var/tmp' so we
> know if your access restrictions are messed...
>
> --
> Alexandre Siufy
> [EMAIL PROTECTED]
>
Well, here's ls -l for both directories:
[localhost:~] gary% ls -l /var
lrwxrwxr-t 1 root admin 11 Mar 30 07:32 /var -> private/var
[localhost:~] gary% ls -l /var/tmp
total 173424
drwxrwxrwx 2 root wheel 264 Sep 26 2000 CarbonUFSVolumeInfo
-rw------- 1 gary wheel 88751300 Mar 30 17:30 console.log
drwxrwxrwx 2 root wheel 264 Sep 26 2000 mnta
drwxr-xr-x 2 root wheel 264 Sep 1 2000 mntb
I haven't messed with my Perl install, although I did run the Public
Beta (as you can probably tell from the dates. :-D)
I tried to run perldoc from root and got slapped around: "Superuser must
not run /usr/bin/perldoc without security audit and taint checks."
Thanks again...
---
Gary Blackburn
[EMAIL PROTECTED]