On Wed, Jan 22, 2003 at 10:47:35AM +0800, Desmond Foo wrote:
> I'm using an AIX Machine to upload some files onto a RedHat 6.2 Server via FTP. 
>Permission modes of those files uploaded have been changed to rwxr-----. Is there a 
>way that I can keep their modes to rwxr--r-- ? 

This is controlled by the FTP server.  Which one are you using?  If
you're using wu-ftpd, look in /etc/ftpaccess for the default access
modes of uploaded files.  You've got a couple of choices:  1)  modify
the upload directive to change the default mode, or 2) modify the chmod
directive to allow you to change the mode after the file is uploaded.

Cheers,
        .../Ed

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to