The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setup of user groups and permissions citygov UNIX for Dummies Questions & Answers 4 03-14-2008 01:04 AM
User home folder permissions catch-22, help! EugeneG UNIX for Dummies Questions & Answers 3 07-17-2007 06:11 AM
OpenBSD Ftp permissions problems - help!! Andy68man UNIX for Dummies Questions & Answers 1 08-23-2005 02:55 AM
Changing permissions of a user achink125 UNIX for Advanced & Expert Users 3 06-03-2002 11:11 AM
view user permissions on directory 99miles UNIX for Dummies Questions & Answers 1 01-05-2002 01:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-2005
Registered User
 

Join Date: Jul 2002
Posts: 22
Stumble this Post!
FTP user files permissions problems!!!

Hi,

I have a problem with my ftp accounts whereby if any external ftp party connects to our server and puts any file in a directory on our server. The file permissons are always -rw-r----- and no read for others.

I have adjusted the ftp user .profile to include 'umask 022' but this only works if I 'su' on the server itself and create files with permissions levels
-rw-r--r--.

For any connections from remote site login as the same user I have su'ed as the permissions always default to -rw-r----- . Any way I can make a change so that permissions are always -rw-r--r-- for any ftp remote user connections.

Gurus please assist.

thanks
Bud
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-06-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,424
Stumble this Post!
See ftp file with full permissions
Reply With Quote
  #3 (permalink)  
Old 04-06-2005
Registered User
 

Join Date: Jul 2002
Posts: 22
Stumble this Post!
FTP file access

Hi Perderabo,

I'm still abit confused for HP-UX. The fix is for solaris from what I understand and HP-UX does not have the /etc/defaults folder. I have also tried to adjust the umask value in .profile file in the users home directory but this still doesn't work.

Any ideas for Hp-UX in particular?

thanks
Bud
Reply With Quote
  #4 (permalink)  
Old 04-07-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,424
Stumble this Post!
Well, what about the other stuff in that thread? First, if you follow the link in that thread, you will read about the "site umask" command which will work. And did you notice my comment "I will add that with some ftpd programs there is an option for the default umask on the command line."? Looking at the HP-UX ftpd man page, and sure enough, there it is, "-u umask". While you're on that man page, be sure to notice
Quote:
The following non-standard or HP-UX specific commands are supported by the SITE command:
Command

Description
UMASK

Change umask. (e.g., SITE UMASK 002)
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0