> I have an application using the Net::FTP module to move files from a > Windows system to a RH Linux box. The application copies the file and > directory structure across the systems. > > The files that get transferred to the Linux box end up with the > permissions of "-rw-------" (600). I need the rights to be at least > "-rw-rw-r--" (664). > > The directories that get created have similarly restrictive permissions > of "drwx------" (700). I need the rights to be at least "drwxr-xr-x" > (755). > > I can't seem find out how to change the permissions via the Net::FTP > module. I can do it manually from the command line via the chgmod > command but that defeats the purpose of automation. > > Thanks, > James H. Cutts III
James; Check out File::Remote on cpan. I think it will do what you need. Good Luck! Dennis _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
