- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Configuring VSFTPD file upload permission to 755
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
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-28-2003 05:45 PM
тАО02-28-2003 05:45 PM
Configuring VSFTPD file upload permission to 755
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 11:56 PM
тАО02-28-2003 11:56 PM
Re: Configuring VSFTPD file upload permission to 755
Edit vsftpd.conf and put this line
local_umask=022
Restart vsftpd daemon. Hope your problem is solved.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2003 07:22 PM
тАО03-02-2003 07:22 PM
Re: Configuring VSFTPD file upload permission to 755
I have already editted vsftpd.conf and put this line
local_umask=022 and restart vsftpd by using /etc/rc.d/inetd restart. But the permission that I get is 644. How can I configured vsftpd to set the permission to 755? I would like all my files and directories that I upload are 755.
Regards,
Chan Choth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:00 PM
тАО03-03-2003 01:00 PM
Re: Configuring VSFTPD file upload permission to 755
Actually, you can figure this out yourself.
From the manual of umask
For example, the mask u=rwx,g=rx,o=rx (022) disables group and other write permissions. As a result, files normally created with a file
mode shown by the ls -l command as -rwxrwxrwx (777) become mode -rwxr-xr-x (755); while files created with file mode -rw-rw-rw- (666)
become mode -rw-r--r-- (644).
In fact the umask you were given is correct.
The problem is umask can't doesn't make a file executable.
There may be another parameter you can set.
Here is a workaround.
write a cron job
It checks for new files in the ftp directory.
If it finds a new file, it does this.
chmod 755 filename.
I don't know the ftp server you are using, though red hat and my backup server both user it.
just a bad guess, local_chmod 755 ?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 01:10 AM
тАО03-04-2003 01:10 AM
Re: Configuring VSFTPD file upload permission to 755
How can I write a script to check for new files in the ftp directory and chmod them to 755?
Many thanks,
Chan Choth