- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change the permission of file thru uploadi...
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
Discussions
Discussions
Forums
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
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
тАО03-24-2004 11:00 PM
тАО03-24-2004 11:00 PM
how to change the permission of file thru uploading ftp
one class server 10.20 hp-ux version
whenever one user uploading the file through FTP to server that file should be have the view
permission (666) for all. but now its not like that.its like (640). How to change the file permission when uploading the file.
Help me
Thanks in advance
Shankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 11:03 PM
тАО03-24-2004 11:03 PM
Re: how to change the permission of file thru uploading ftp
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 11:06 PM
тАО03-24-2004 11:06 PM
Re: how to change the permission of file thru uploading ftp
As Sanjay has already mentioned i think setting umask to desired value in your profile for the ftp account, may do the job.
Give it a try
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 11:08 PM
тАО03-24-2004 11:08 PM
Re: how to change the permission of file thru uploading ftp
Modify /etc/inetd.conf and change the line
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
to
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u002
# inetd -c
To reread the inetd conf file.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 11:25 PM
тАО03-24-2004 11:25 PM
Re: how to change the permission of file thru uploading ftp
You can simply use the chmod command within the FTP session to change the permissions once the file has transferred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 12:11 AM
тАО03-25-2004 12:11 AM
Re: how to change the permission of file thru uploading ftp
I believe the reason for defaulting this way is for security so that if someone gets FTP access to your box they can't push a file on that will run automatically.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 04:23 PM
тАО03-25-2004 04:23 PM
Re: how to change the permission of file thru uploading ftp
i tried umask that is not making any change.
See, users are using one comman user account for ftp. particularly, those are tranfering the files from windows PC's through ftp client software. (Power term FTP client for windows. ver ftp 3.0.3)
so after that only the problem permission denied for that file . so how to change permission. from 640 to 664 for uploading all files from ftp client.
Help please..
Shankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 04:29 PM
тАО03-25-2004 04:29 PM
Re: how to change the permission of file thru uploading ftp
Please check the following links:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=301389
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=278349
hth.