- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File Permission
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
тАО02-23-2010 10:53 PM
тАО02-23-2010 10:53 PM
I have created one directory /SID/backup and this directory is used for uploading the FTP files. When i use the HP-UX id to FTP the files into /SID/backup directory the file permission are rw-r----- and my requirement is that the file permission should be when files are FTP into this directory to be rw-rw-rw- Please let me know what i need to modify so that whenever i FTP the files will have rw-rw-rw- permission.
Thanks,
Narendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 11:01 PM
тАО02-23-2010 11:01 PM
Re: File Permission
Hope the below link will give better understanding.
http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 11:10 PM
тАО02-23-2010 11:10 PM
SolutionThe you should add in the ftpaccess file an upload definition for the SID/backup directory, which will set a disired umask value.
Read
man ftpaccess
If you want to globally change the umask (for all the files uploaded into your ftpd server, you could do it by adding -u
Do not forget to restart inetd.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 11:22 PM
тАО02-23-2010 11:22 PM
Re: File Permission
#ls -la
# cp -p .profile .profile.org -> backup
# vi .profile
umask 111 --> type umaks value
:wq
verification:-
touch HPUX_id.txt -> create file to check file permission are shown (rw-rw-rw)
or just type "umask" command will current umask value settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 12:09 AM
тАО02-24-2010 12:09 AM
Re: File Permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 01:11 AM
тАО02-24-2010 01:11 AM
Re: File Permission
into the .profile for the user put
umask 000
this will set permission rw-rw-rw- for new files.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 01:20 AM
тАО02-24-2010 01:20 AM