Oscar Nelson skrev:
> At 10:27 AM 11/1/2005, Bruce B. Platt wrote:
>>Is it a permissions problem?
>>
>>The TSL default umask is 0077 which gives files permissions of -rw------- .
>>
>>I install all perl modules after changing my umask to 0022, then
>>doing my  "perl -MCPAN -e shell" followed by the "install ..."
>>
>>I ask because if you run sqlgrey as user and group sqlgrey and you
>>installed the DBD::mysql while as root, then the mysql.pm may be
>>there, bur unreadable by the sqlgrey user.
>>
>>What happens when you do an:
>>
>>ls -l of /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/DBD/mysql.pm
>>
>>Regards,
>
> It was indeed a permissions problem. Not on the mysql.pm file itself
> but on one of the other perl libraries. I'm not sure which one
> exactly because I ended up fixing permissions on about 20 folders
> that were only traversable by root and on a couple files that were
> only readable by root.
>
> Thanks,
> Oscar
>

My way to fix this is a small shellscript

#! /bin/sh
cd /usr/lib/perl5
chmod a+rX -R -c *|tee WANTED_PATH/chlog

which also gives you a log.

-- 
Bengt-Arne Fjellner


_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to