Operating System - HP-UX
1847070 Members
6064 Online
110262 Solutions
New Discussion

Re: Web server setup / ftpuser access / Apache file permissions

 
SOLVED
Go to solution
P-Dicky
Frequent Advisor

Web server setup / ftpuser access / Apache file permissions

Hi All

I have installed HPWS ver 2.17. I have run an altroot to move hpws/* to a different mount point. I now have the following root dir's for Apache and Tomcat
/web/www/intranet
/web/www/intranet/webapps/jsp-aps

These dir’s are currently owned by www and the group bin (776).

I would like to set up an ftp user that would default to the dir /web/www/intranet. I would also like to apply the correct umask to that user. Ideally I would love if the developers didn't have to telnet to the Unix system at all.

So questions
1. Are those user, group, file permissions correct?
2. Where do I set the umask for the ftp user? In the .profile or the ftpaccess file?
3. Am I missing something obvious? By all means criticize the setup.

Thanks all
Paul
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Web server setup / ftpuser access / Apache file permissions

Shalom.

1) Hard to answer that question. The bin group is the root group and I don't see how that helps your developers post files. I'd think there should be a group for the developers and the files should be in that group.

2) umask for the ftp user is normally set in the ftpaccess file. ftp users don't use the umask from the OS user because they don't read that profile.

3) You don't need to run ftp at all. Install HP Secure shell which is a port of openssh. The developers can be taught to use command line sftp and do uploads in a secure fashion. Or they can use firezilla if they are disabled and need a gui to upload files.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
P-Dicky
Frequent Advisor

Re: Web server setup / ftpuser access / Apache file permissions

Thanks Steve