LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-03-2004, 11:52 PM   #1
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
files uploaded to anonymous ftp not readable by anonymous

i'm running slackware 10.0 (-current) with vsftpd setup through inetd.conf; I have it setup to be accessible through anonymous and with anonymous write enabled

i can successfully upload files, but i cannot read them while anonymous; looking at the file permissions, i see that they are owned by ftp.ftp with 600 permissions

is there any way to automatically allow those uploaded files to have 666 permissions?

Old 11-04-2004, 08:37 AM   #2
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

try to look at umask command for your ftp user...
Hope this help

Old 11-04-2004, 08:42 AM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
This is how FTP servers are set up by default, for security reasons. It's generally not a good idea to allow anonymous users to upload files and then allow other anonymous users to download them, unless the server is only accessible to people behind I firewall (i.e. on a corporate network where users are all relatively trusted) or you don't mind having your hard drive filled with malware and cracks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anonymous ftp server naren Linux - Software 2 11-09-2004 01:00 AM
Anonymous FTP Error bloy Linux - Networking 2 02-03-2004 01:25 PM
anonymous ftp jgallas Linux - Newbie 10 08-14-2003 06:08 PM
Anonymous FTP? mikeshn Linux - General 4 06-08-2002 04:51 PM
Anonymous FTP Balitmoreboy Linux - Security 1 05-02-2001 07:19 AM

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration