- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Files Permission using ftp
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
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
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
тАО12-03-2004 01:59 AM
тАО12-03-2004 01:59 AM
Files Permission using ftp
I am putting files using ftp to my Blade server with REdhat A.S 3.0. These files have permission -rw-r----- , i need all permission in this file when i put in my sever. I changed umask on .profile but doesnt work. Somebody can helpme!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:06 AM
тАО12-03-2004 02:06 AM
Re: Files Permission using ftp
umask could be used as well, you would need to first change the parent directory to have the permisions you desire, and set the umask to not remove any bits.. or just the bits that are appropriate, should you ever want to lock it down a little more than 777.
I wouldn't suggest using umask, as setting this a to low of a value could cause inherited security risks. Stick with chmod via ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:19 AM
тАО12-03-2004 02:19 AM
Re: Files Permission using ftp
$ chmod 777 filename
Do not use umask, because it will cause all your future files to have world permissions when you create them. In addition, "umask" is not used to change permissions. Use "chmod" to do it.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:20 AM
тАО12-03-2004 02:20 AM
Re: Files Permission using ftp
On HP-UX i edit /etc/inetd.conf and i add this line
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
But on linux does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:22 AM
тАО12-03-2004 02:22 AM
Re: Files Permission using ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:37 AM
тАО12-03-2004 02:37 AM
Re: Files Permission using ftp
If you use gssftp, the config file is called gssftp.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 04:15 AM
тАО12-03-2004 04:15 AM
Re: Files Permission using ftp
You may want to consider using a third party application, as if you are using a third party ftp client, it would likely include chmod functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 06:18 AM
тАО12-03-2004 06:18 AM
Re: Files Permission using ftp
If you are using AS 3.0 you are probably running the vsftpd ftp daemon. If so, the config file for this is /etc/vsftpd.conf, and there is a setting in there named 'local_umask' which sets the umask for local users. The default is 077. You can try changing this value and see if that does what you are looking for.
JP