亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 5141 | 回復(fù): 16
打印 上一主題 下一主題

[FTP] vsftpd服務(wù)器架設(shè)初心者問題,上傳無權(quán)限? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-10-08 21:23 |只看該作者 |倒序瀏覽
小弟初學(xué)架設(shè)vsftpd服務(wù)器,   但是運行后發(fā)現(xiàn)無上傳權(quán)限, 但是我在配置文件中已經(jīng)把匿名的讀寫權(quán)限都打開了呀,  下面是詳細(xì)的配置信息。并付上截圖。
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are very paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
#
# Allow anonymous FTP?
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
#
# Permission for anonymus users to do other write operations - like renaming or        deleting? YES/NO
anon_other_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
chown_uploads=YES
chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
ascii_upload_enable=YES
ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
banned_email_file=/etc/vsftpd.banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
ls_recurse_enable=YES

pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
#enable for standalone mode
listen=NO
tcp_wrappers=NO

# Shall local users be locked into their home directory? YES/NO
chroot_local_user=YES

# Highest permitted data transfer rate in bytes per second for local logged on users. Default = 0 錛坲nlimited錛?local_max_rate=7200

# General write permission? YES/NO
write_enable=YES

# Enable messages when changing directories? YES/NO
dirmessage_enable=YES

# Confirm connections are established on port 20 錛坒tp data錛?only. YES/NO
connect_from_port_20=YES

#鏈

1.gif (14.94 KB, 下載次數(shù): 62)

1.gif

論壇徽章:
0
2 [報告]
發(fā)表于 2006-10-08 21:25 |只看該作者
目錄,目錄。

論壇徽章:
0
3 [報告]
發(fā)表于 2006-10-08 21:32 |只看該作者
置頂貼嗎?

論壇徽章:
1
IT運維版塊每日發(fā)帖之星
日期:2016-01-06 06:20:00
4 [報告]
發(fā)表于 2006-10-08 22:19 |只看該作者
開啟匿名上傳和下載權(quán)限!然后
chown -R ftp /var/ftp/pub

論壇徽章:
0
5 [報告]
發(fā)表于 2006-10-09 21:41 |只看該作者
還是不行啊!

論壇徽章:
0
6 [報告]
發(fā)表于 2006-10-09 22:42 |只看該作者
你只需對你想增加寫入權(quán)限的文件下 運行 chmod 755  文件夾即可...

論壇徽章:
0
7 [報告]
發(fā)表于 2006-10-09 23:13 |只看該作者
是不是在這兩個目錄里把root去掉?

1.jpg (3.92 KB, 下載次數(shù): 65)

1.jpg

論壇徽章:
0
8 [報告]
發(fā)表于 2006-10-10 08:40 |只看該作者
我現(xiàn)在進(jìn)任何一個目錄都是只能下載,不能上傳,直接拖入,或者用客戶端軟件都一樣。在我登陸FTP服務(wù)器時,提示“此FTP服務(wù)器只提供匿名訪問”,這是怎么回事? 我明明設(shè)置了“userlist_enable=YES”和“userlist_deny=NO”,這樣設(shè)的話應(yīng)該只有“/etc/vsftpd.user_list”文件中的用戶才能訪問FTP服務(wù)器。據(jù)此文件中描述,應(yīng)該會同時檢查“vsftpd.ftpusers”中的記錄,而“vsftpd.ftpusers”中記錄的應(yīng)該是不能通過FTP來訪問服務(wù)器的用戶。我在這兩個文件中把root都刪了,并且對想寫入的目錄執(zhí)行了chmod 777,可這樣還是不行。另外問一下,配置文件中設(shè)置順序有沒有影響啊?

論壇徽章:
0
9 [報告]
發(fā)表于 2006-10-10 15:14 |只看該作者
anon_root=*

論壇徽章:
0
10 [報告]
發(fā)表于 2006-10-10 16:15 |只看該作者
檢查一下,匿名用戶ftp,在你上傳目錄的權(quán)限,有沒有w,再就是不能上傳目錄,只能上傳文件,否則就不要匿名了
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP