System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ftp upload file default permissions

 

ftp upload file default permissions

We have windows users uploading files onto our hpux 11.i server and then running scripts to import that data into a database. we are finding that the default mode permissions prevent our scripts from access the files.
--
we are using ftpaccess and treating each ftp account as part of a guestgroup "dload" to limit their access. Ideally I would like the file to have a 755 access mode. can anyone assist?
-- ftpaccess file below---
class all real,guest *
guestgroup dload
limit all 5 Any /no-more-ftp-access
noretrieve /etc/passwd core
message /etc/motd
1 REPLY
Dennis Handly
Acclaimed Contributor

Re: ftp upload file default permissions

>I would like the file to have a 755 access mode.

Why? Data files shouldn't have execute permission and should be 644, or umask 22.