|
Autor |
Sõnum |
mckevin
Pingviini aktivist
Vanus: 35
Liitunud: 02.05.2007
Postitused: 121
Asukoht: tallinn
Distributsioon: Arch Linux x86_64
|
|
nii oleks siis vaja ftp serverit alates kaustast /shares/internal/PUBLIC
aga värk ei taha toimida kuidagi ftp server on küll üleval aga näha on kõik kaustad alates / ja faile ei anna ka uploadida ega deletida
annab:
Command: STOR sysinfo
Response: 553 Could not create file.
Command: DELE sysinfo
Response: 550 Delete operation failed.
vsftpd.conf kirjutas: | chown_uploads=YES
chown_username=ftp
local_umask=022
anon_other_write_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
write_enable=YES
dirlist_enable=YES
local_root=/shares/internal/PUBLIC
cmds_allowed=QUIT,LIST,PASV,RETR,CWD,STOR,DELE,RNFR,RNTO,MKD,RMD,APPE,TYPE,PWD,SIZE,PORT,NLST
listen=YES
local_enable=YES
anonymous_enable=NO
userlist_deny=NO
userlist_enable=YES
|
andmeid kirjutas: | uname -a
Linux TBHD 2.6.17.14 #1 PREEMPT Mon Mar 26 12:36:33 BST 2007 armv5tejl GNU/Linux
lsmod
Module Size Used by Not tainted
power_button 3584 0
nls_cp437 5632 0
usb_storage 32772 0
ehci_oxnas 28712 0
usbcore 114532 3 usb_storage,ehci_oxnas
i2c_oxnas_bitbash 2464 0
i2c_algo_bit 8744 1 i2c_oxnas_bitbash
m41t00 3972 0
i2c_core 17488 2 i2c_algo_bit,m41t00
wdc_fan 3052 0
wdc_leds 9824 0
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 1.2 1280 372 ? Ss 16:58 0:00 init
root 2 0.0 0.0 0 0 ? RN 16:58 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< 16:58 0:00 [events/0]
root 4 0.0 0.0 0 0 ? S< 16:58 0:00 [khelper]
root 5 0.0 0.0 0 0 ? S< 16:58 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< 16:58 0:00 [kblockd/0]
root 36 0.0 0.0 0 0 ? S 16:58 0:00 [pdflush]
root 37 0.0 0.0 0 0 ? S 16:58 0:00 [pdflush]
root 38 0.0 0.0 0 0 ? S 16:58 0:00 [kswapd0]
root 39 0.0 0.0 0 0 ? S< 16:58 0:00 [aio/0]
root 143 0.0 0.0 0 0 ? S< 16:58 0:00 [ata/0]
root 146 0.0 0.0 0 0 ? S< 16:58 0:00 [sata-endQ]
root 147 0.0 0.0 0 0 ? S< 16:58 0:00 [scsi_eh_0]
root 152 0.0 0.0 0 0 ? S< 16:58 0:00 [sata-endQ]
root 153 0.0 0.0 0 0 ? S< 16:58 0:00 [scsi_eh_1]
root 172 0.0 0.0 0 0 ? S< 16:58 0:00 [kcryptd/0]
root 173 0.0 0.0 0 0 ? S< 16:58 0:00 [kcryptd/0]
root 177 0.0 0.0 0 0 ? S< 16:58 0:00 [md3_raid1]
root 179 0.0 0.0 0 0 ? S< 16:58 0:00 [md2_raid1]
root 181 0.0 0.0 0 0 ? S< 16:58 0:00 [md1_raid1]
root 182 0.0 0.0 0 0 ? S< 16:58 0:00 [kjournald]
root 190 0.0 0.0 0 0 ? S< 16:58 0:00 [kjournald]
root 192 0.0 0.0 0 0 ? S< 16:58 0:00 [kjournald]
root 491 0.0 0.0 0 0 ? S< 16:58 0:00 [khubd]
root 672 0.0 2.7 1544 824 ? S 16:58 0:00 /bin/bash /usr/local/wdc/fuel-gauge
root 687 0.0 0.8 560 244 ? S 16:58 0:00 /usr/local/wdc/heat-monitor
root 710 0.0 0.6 552 188 ? S 16:58 0:00 /sbin/keyring
root 769 0.0 4.7 1520 1432 ? SL 16:59 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid
root 773 0.0 1.1 1284 332 ? S 16:59 0:00 /usr/sbin/inetd
root 777 0.0 1.1 740 356 ? S 16:59 0:00 /sbin/mDNSResponderPosix -f /etc/mDNSResponderPosix -b
root 780 0.0 2.5 1940 772 ? Ss 16:59 0:00 /usr/local/samba/sbin/nmbd -D -s/var/oxsemi/smb.conf -l/var/l
www-data 784 0.0 2.2 2488 684 ? S 16:59 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
www-data 789 1.9 26.0 8760 7832 ? S 16:59 0:10 perl /usr/www/lib/nasMaster.pl
root 800 0.0 3.2 1520 968 ? S 16:59 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid
root 802 0.0 1.1 1276 344 ? S 16:59 0:00 /usr/sbin/crond -c /etc/crontabs
root 807 0.0 0.8 1276 248 ? S 16:59 0:00 udhcpc -n -p /var/run/udhcpc.eth0.pid -i eth0 -H TBHD
root 809 0.0 0.9 744 272 ? S 16:59 0:00 /usr/bin/vsftpd /etc/vsftpd.conf
root 814 0.0 1.2 1276 364 ttyS0 Ss+ 16:59 0:00 /sbin/getty -L ttyS0 115200 vt100
root 815 0.0 1.2 1272 368 ? Ss 16:59 0:00 /sbin/syslogd -n -m 0
root 816 0.0 1.2 1272 364 ? Ss 16:59 0:00 /sbin/klogd -n
root 847 0.0 0.7 564 220 ? S 17:03 0:00 sleep 300
root 848 5.0 4.0 4736 1204 ? Ss 17:06 0:05 sshd: scaleo [priv]
scaleo 850 0.1 2.7 4740 828 ? S 17:06 0:00 sshd: scaleo@pts/0
scaleo 851 0.1 3.3 1884 1012 pts/0 Ss+ 17:06 0:00 -sh
scaleo 862 0.0 1.3 1400 412 pts/0 R+ 17:08 0:00 ps aux
|
|
|
|
|
|
|
|
|
obundra
Vana Pingviin
Vanus: 50
Liitunud: 04.08.2005
Postitused: 1213
Asukoht: 127.0.0.1
Distributsioon: RHEL, Solaris, Debian, Gentoo
|
|
Kas kasutajal ftp on kataloomas /shares/internal/PUBLIC kirjutusõigus?Ja selleks, et kasutajad ei saaks sealt kataloomast välja liikuda, pead nad sinna chrootima, local_root ei ole selle jaoks.
|
|
|
|
_________________ IT teenused
|
|
|
|
mckevin
Pingviini aktivist
Vanus: 35
Liitunud: 02.05.2007
Postitused: 121
Asukoht: tallinn
Distributsioon: Arch Linux x86_64
|
|
chrooti ma kasutasin aga siis ei saand liikuda ei edasi ega tagasi vaja oleks et edasi nt /shares/internal/PUBLIC/musa saaks aga /shares/internal ei saaks
tegin chmod -v 777 /shares/internal/PUBLIC/ ja tundub et nyyd on suht ok peale selle et ftp-st näeb kogu ketast
|
|
|
|
|
|
|
|
spott
Admin
Vanus: 43
Liitunud: 04.06.2005
Postitused: 8857
Distributsioon: Ubuntu
|
|
|
|
|
|
Powered by phpBB2 Plus based on phpBB © 2001/7 phpBB Group
|
|