View previous topic :: View next topic |
Author |
Message |
CyriC Tux's lil' helper
Joined: 14 Feb 2004 Posts: 117 Location: Poland, Bedzin
|
Posted: Thu Apr 29, 2004 12:35 pm Post subject: glftpd +prawa dostepu |
|
|
Uzywam serwera FTP Glftpd czy da sie ustawic tak aby osoby uploadujace do katalogu Upload moglu kontynuowac przerwane wczesnsiej wgrywanie i aby domyslnie pliki jakie wrzucaja mialy ustawione chmody na 777. Czy da sie ustawic cos takiego tylko dla jednej grupy ?? _________________
Linux Registered User: #346659
Last edited by CyriC on Tue May 04, 2004 2:48 pm; edited 1 time in total |
|
Back to top |
|
|
l3x n00b
Joined: 04 May 2004 Posts: 2
|
Posted: Tue May 04, 2004 12:06 pm Post subject: |
|
|
da sie tak ustawic , pokaz mi swojego : glftpd.conf <- tu sie to ustawia, zreszta jak 99% wszystkich ustawien:) |
|
Back to top |
|
|
CyriC Tux's lil' helper
Joined: 14 Feb 2004 Posts: 117 Location: Poland, Bedzin
|
Posted: Tue May 04, 2004 12:38 pm Post subject: |
|
|
ok, tu jest config.
Code: |
# Server shutdown: 0=server open, 1=deny all but siteops, !*=deny all, etc
shutdown 0
sitename_long FileTransferProtocol_Guardian
sitename_short FTP_G
email root@127.0.0.1
rootpath /glftpd
# Path relative to the ROOTPATH.
datapath /ftp-data
welcome_msg /ftp-data/misc/welcome.msg *
goodbye_msg /ftp-data/misc/goodbye.msg *
newsfile /ftp-data/misc/newsfile *
banner /ftp-data/misc/banner
# TLS enforcements.
userrejectsecure !*
userrejectinsecure !*
denydiruncrypted !*
denydatauncrypted !*
# we will not show the dir/file listings in color
color_mode 0
master CyriC
#speed_limit /* 30720000 921600000 =users
pasv_addr 192.168.1.31
pasv_ports 1600-1610 10000-11000 35000-35050
#active_adr 192.168.1.31
#active_ports 25000-25150
creditloss 0 yes /*
##############################################################################
# SECTION # KEYWORD DIRECTORY SEPARATE CREDITS #
##############################################################################
stat_section DEFAULT * yes
##############################################################################
################## THE RIGHTS SECTION BEGINS HERE ####################
##############################################################################
# (you can use a ! in front of any group/user/flag to negate it) #
# The default is no, you don't need to add "!*" at the end #
# #
# Function Path =GROUP or -username or X (flag) #
##############################################################################
upload * * * * *
resume * * * * *
makedir * * * * *
download * *
dirlog * *
rename * 1 =STAFF
filemove * 1 =STAFF
renameown * *
nuke * *
delete * 1
deleteown * *
##############################################################################
################### THE RIGHTS SECTION ENDS HERE #####################
##############################################################################
##############################################################################
# secure_pass mask users to whom this rule applies #
##############################################################################
#secure_pass a2.. *
##############################################################################
# secure_ip min. fields allow hostnames? need ident? users to whom this applies
##############################################################################
#secure_ip 1 1 1 *
##############################################################################
#path-filter group path/msgfile filters
#path-filter * /ftp-data/misc/pathmsg ^[-A-Za-z0-9_.()[:space:]]*$ ^\. ^-
use_dir_size k /site/incoming
show_totals *
show_diz .message
free_space 20
max_users 3 3
total_users 100
# dupecheck how many days? ignore file case like Windows?
#dupe_check 7 no
dl_incomplete 1
noretrieve passwd passwd- group group-
min_homedir /site
#############################################################################
# <cap 1st letter> <lower/upper> character conversions...
#file_names 0 lower [:space:]_
#dir_names 1 none [:space:]_
#############################################################################
#tagline No[:space:]Tagline[:space:]Set
ignore_type *.[tT][xX][tT] *.[nN][fF][oO] [rR][eE][aA][dD][mM][eE] .message
ignore_type *.[sS][fF][vV] *.[cC][rR][cC] *.[dD][iI][zZ]
#############################################################################
#pre_dir_check /bin/dirscript
#pre_check /bin/dupescript
#post_check /bin/zipscript
#############################################################################
############## Location #################### Max number of lines in Display #
oneliners /ftp-data/misc/oneliners 7
requests /ftp-data/misc/requests 10
lastonline /ftp-data/misc/lastonline 10
#############################################################################
############################################################################
# Nukedir_Style:
# 1st. Option [Format: %N = DIR]
# 2nd. Option 0 = Delete ALL, 1 = Save main dir., 2 = Save ALL (UNNUKE)
# 3rd. Option [Byte Size] for nuker to discount.
############################################################################
nukedir_style NUKED-%N 2 50000
empty_nuke 25000
multiplier_max 20
############################################################################
# Private Groups: privgroup GROUPNAME GROUPDESC #
############################################################################
privgroup STAFF My[:space:]Private[:space:]Group
############################################################################
# PRIVPATHS: Directories should be uniquely named (no wildcards) #
############################################################################
privpath /site/ETPRO -pilek -CyriC
#privpath /site/#home 1 =STAFF
#site/privatedir
############################################################################
# CUSTOM SITE COMMANDS #
# site_cmd [CMD NAME] [EXEC/TEXT] [PATH TO FILE] #
############################################################################
site_cmd RULES TEXT /ftp-data/misc/site.rules
site_cmd LOCATE EXEC /bin/locate.sh
custom-rules !8 *
custom-locate !8 *
-addip 1 2 7
-adduser 1 2 7
-change 1 7
-changeflags 1
-changeratio 1 2 7
-changesratio 1 7
-changehomedir 1
-chmod 1
-chgrp 1 7
-chgrp-priv 1
-chpass 1
-delip 1 2 7
-deluser 1 2 7
-dirs !8 *
-errlog 1
-flags !8 *
-gadduser 1 7
-ginfo 2 H
-give G
-group !3 *
-groups 1
-grpadd 1
-grpdel 1
-grplog 1
-grpnfo 1 2
-grpren 1
-grpstats *
-help !8 *
-info !8 *
-kick 1
-kill 1
-logins 1
-misc !8 *
-msg !8 *
-msg* 1
-msg= 1
-msg{ !8 *
-nuke A
-onel !8 *
-oneladd !8 *
-predupe 1 7
-passwd !8 *
-purge 1
-readd 1 2 7
-renuser 1 7
-reqlog 1 A B 7
-request !8 *
-requestadd !8 *
-show 1
-stat !8 *
-stats !8 *
-swho =STAFF 1 E
-take F
-syslog 1 =STAFF
-undupe C
-unnuke B
-update 1
-user 1 !8 *
-users 1 H
-usercomment 1 7
-userextra 1 2 7
-who !8 *
-wipe 1
-seen 1
-laston 1
-userothers 1
-traffic 1 7
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|