Quoting "Cutts III, James H." <[EMAIL PROTECTED]>:

> 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).
>

As the destination is a linux system I would look into the umask of the
destination folder.  Some FTP server also have their own umask settings which
will force all new files to that permissions setting on creation.  Permissions
can be changed after the fact of course.  Most Linux systems default to a umask
of 022 I believe.

Charlie
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to