- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp file and permisson setting
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 07:26 PM
09-25-2003 07:26 PM
ftp file and permisson setting
I would like to ftp my files to UNIX server and set the file to permisson 777 automatically. As i knew, need to put the ftp entry (end of the line 000) in inetd.conf file. But it only can set the file permission to 666 not 777. Anywhere to set the file permission for ftp service ? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 07:51 PM
09-25-2003 07:51 PM
Re: ftp file and permisson setting
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x26ba434822974948baab9fe386b56ab3%2C00.html&admit=716493758+1064562637640+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 07:59 PM
09-25-2003 07:59 PM
Re: ftp file and permisson setting
The default permissions for a file when it is created is 666. The default permissions for a directory when it is created is 777.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 08:04 PM
09-25-2003 08:04 PM
Re: ftp file and permisson setting
http://hpux.cs.utah.edu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 08:27 PM
09-25-2003 08:27 PM
Re: ftp file and permisson setting
ex.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u017
(file will be -rw-rw----)
(dir will be drwxrw----)
becouse by default file's permission are
-rw-rw-rw-
or try to change umask at yours ftp session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 11:09 PM
09-25-2003 11:09 PM
Re: ftp file and permisson setting
Hi,
it requires that you ftp by "secure ftp". You have to configure the file /etc/ftpd/ftpaccess
and pay particular attention to the lines for configuring the file permissions for upload.
An example of a single configuration line concerning upload from a system with ftpaccess:
upload /home/sikker_ftp/haps /hapspr1dir yes mr dba 0777 dirs
and a file ftp'ed into the hapspr1dir:
# ls -l
total 2
-rwxrwxrwx 1 root dba 4 Sep 26 12:47 ftptest
It is an authentic example. However, it puzzles me that the file it owned by root - it should not, but at least the permissions are as requested.
Hope it helps.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 11:36 PM
09-25-2003 11:36 PM
Re: ftp file and permisson setting
Bill Hassell, sysadmin