Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-03-2010, 12:29 AM
|
#1
|
|
Member
Registered: Feb 2010
Posts: 143
Rep:
|
Anonymous problem
Hi all,
I have setup ftp server with 4 users a1 a2 a3 a4
and set anonymous=YES in vsftpd.conf file
copied some files in /var/ftp/pub/ directory
gave chmod 777 /var/ftp/pub/
also made
[root@station24 ~]# getsebool -a | grep ftp
allow_ftpd_anon_write --> on
allow_ftpd_full_access --> on
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
allow_tftp_anon_write --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_disable_trans --> off
ftpd_is_daemon --> on
httpd_enable_ftp_server --> off
tftpd_disable_trans --> off
but
when i login from other machine to this machine(172.16.99.24)
like
lftp anonymous@172.16.99.24
i get logged in
but when i try to put anyfile which is created in local machine in /pub/ directory i am getting permission denied message.
why this happening and what's the solution?
Last edited by meandsushil; 06-03-2010 at 12:30 AM.
|
|
|
|
06-03-2010, 12:56 AM
|
#2
|
|
LQ Newbie
Registered: May 2010
Posts: 23
Rep:
|
permission
u used chmod 777 <folder>
try command chmod -R 777 <folder>
then try to put files
|
|
|
|
06-03-2010, 01:47 AM
|
#3
|
|
Member
Registered: Feb 2010
Posts: 143
Original Poster
Rep:
|
i tried with chmod -R 777 /var/ftp/pub/ command too.
but anonymous is not able to put files in this pub directory.
any solution.
tell me plz.
|
|
|
|
06-03-2010, 02:15 AM
|
#4
|
|
Member
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154
Rep:
|
check you FTP configuration file,
and also check all Anonymous settings in the same file
# Disallow anonymous users to upload new files (no = upload is allowed)
AnonymousCantUpload yes
|
|
|
|
06-03-2010, 03:16 AM
|
#5
|
|
Member
Registered: Apr 2010
Posts: 54
Rep:
|
Uncomment the line 'anon_upload_enable=YES' in vsftpd.conf, restart the service and try again. May help!!!
|
|
|
1 members found this post helpful.
|
06-04-2010, 11:57 PM
|
#6
|
|
Member
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 302
Rep:
|
there is a fourth number to "777" like "0777" or "7770" for the archive, group and owner bit (sticky1 setgid2 setuid4)
"anonymous" should be member of group perhaps and might be at some linuxOS also have already a number like root=0 nobody=99
(I googled for that a while ago and found some answers but do not know exactly anymore)
|
|
|
|
06-07-2010, 04:16 AM
|
#7
|
|
Member
Registered: Feb 2010
Posts: 143
Original Poster
Rep:
|
hello all I got solution
just ls at prompt
then cd /pub
then it will get any data to be uploaded
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|