Glad I was able to help.  The TSL default umask of 0077 is _GOOD_.

But care is required when installing things which may need access by 
users other than root.

I only change the umask sparingly.

Oscar Nelson wrote:
> 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 
> 
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to