Lufs
Гость 20 июля, 2006 - 11:29
У нашего провайдера есть фтп забитый разным добром.
Решил монтировать его при загрузке и использовать как локальную фс.
Все монтируется, только вот от юзера зайти в каталог с фтп не могу. От рута все ОК.
Пробовал даже по аналогии с fat-дисками монтировать - все равно не прокатывает:
were@WereHome ~ $ stat /mnt/ftpline File: `/mnt/ftpline' Size: 48 Blocks: 0 IO Block: 131072 Каталог Device: 301h/769d Inode: 168558 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2006-06-30 13:26:16.000000000 +0000 Modify: 2006-06-30 13:26:16.000000000 +0000 Change: 2006-06-30 13:26:16.000000000 +0000 were@WereHome ~ $ sudo lufis fs=ftpfs,host='83.171.64.6',username='TrollTux',password='HIDE' /mnt/ftpline -s [4a77](FTPFS)in constructor [4a77](FTPConnection)in constructor [4a77](do_mount) [4a77](connect)trying to connect to 83.171.64.6... [4a77](connect)connect succeded... [4a77](get_response)line: 220 83.171.64.6 FTP server ready [4a77](execute)executing USER TrollTux [4a77](get_response)line: 331 Password required for TrollTux. [4a77](execute)executing PASS HIDE [4a77](get_response)line: 230 User TrollTux logged in. [4a77](execute)executing SYST [4a77](connect)logged in. system type is UNIX. [4a77](do_mount)list command: LIST -al [4a77](do_open) [4a77](do_read)read /etc/passwd, 0, 3bd [4a77](execute_open_passive)dsock: 0,dfd: 0,last_off: 0,last_cmd: [4a77](execute_open_passive)reopening data connection... [4a77](execute)executing PASV [4a77](getIP)buf: (83,171,64,6,241,242). [4a77](getIP)(i0,i1,i2,i3,p0,p1)=(53,ab,40,6,f1,f2) [4a77](getIP)IP: 53ab4006(6.64.171.83) [4a77](getIP)port: f1f2 [4a77](execute)executing TYPE I [4a77](get_response)line: 200 Type set to I [4a77](execute)executing RETR /etc/passwd [4a77](get_response)line: 550 /etc/passwd: No such file or directory [4a77](execute_open_passive)bad server response! [4a77](do_read)couldn't open data connection! [4a77](do_release) were@WereHome ~ $ ls /mnt ls: /mnt/ftpline: Отказано в доступе cdrom flash floppy hda1 media mine player temp were@WereHome ~ $ cd /mnt/ftpline bash: cd: /mnt/ftpline: Отказано в доступе were@WereHome ~ $ sudo umount /mnt/ftpline were@WereHome ~ $ sudo lufis fs=ftpfs,host='83.171.64.6',username='TrollTux',password='HIDE',umask=000,showexec,user /mnt/ftpline -s [4a7c](FTPFS)in constructor [4a7c](FTPConnection)in constructor [4a7c](do_mount) [4a7c](connect)trying to connect to 83.171.64.6... [4a7c](connect)connect succeded... [4a7c](get_response)line: 220 83.171.64.6 FTP server ready [4a7c](execute)executing USER TrollTux [4a7c](get_response)line: 331 Password required for TrollTux. [4a7c](execute)executing PASS HIDE [4a7c](get_response)line: 230 User TrollTux logged in. [4a7c](execute)executing SYST [4a7c](connect)logged in. system type is UNIX. [4a7c](do_mount)list command: LIST -al [4a7c](do_open) [4a7c](do_read)read /etc/passwd, 0, 3bd [4a7c](execute_open_passive)dsock: 0,dfd: 0,last_off: 0,last_cmd: [4a7c](execute_open_passive)reopening data connection... [4a7c](execute)executing PASV [4a7c](getIP)buf: (83,171,64,6,241,245). [4a7c](getIP)(i0,i1,i2,i3,p0,p1)=(53,ab,40,6,f1,f5) [4a7c](getIP)IP: 53ab4006(6.64.171.83) [4a7c](getIP)port: f1f5 [4a7c](execute)executing TYPE I [4a7c](get_response)line: 200 Type set to I [4a7c](execute)executing RETR /etc/passwd [4a7c](get_response)line: 550 /etc/passwd: No such file or directory [4a7c](execute_open_passive)bad server response! [4a7c](do_read)couldn't open data connection! [4a7c](do_release) were@WereHome ~ $ ls /mnt ls: /mnt/ftpline: Отказано в доступе cdrom flash floppy hda1 media mine player temp were@WereHome ~ $ cd /mnt/ftpline bash: cd: /mnt/ftpline: Отказано в доступе were@WereHome ~ $ sudo umount /mnt/ftpline were@WereHome ~ $
Кто-нибудь сталкивался с подобным?
Вот как дела с рутом обстоят:
were@WereHome ~ $ sudo umount /mnt/ftpline were@WereHome ~ $ sudo lufis fs=ftpfs,host='83.171.64.6',username='TrollTux',password='HIDE' /mnt/ftpline -s [4a84](FTPFS)in constructor [4a84](FTPConnection)in constructor [4a84](do_mount) [4a84](connect)trying to connect to 83.171.64.6... [4a84](connect)connect succeded... [4a84](get_response)line: 220 83.171.64.6 FTP server ready [4a84](execute)executing USER TrollTux [4a84](get_response)line: 331 Password required for TrollTux. [4a84](execute)executing PASS HIDE [4a84](get_response)line: 230 User TrollTux logged in. [4a84](execute)executing SYST [4a84](connect)logged in. system type is UNIX. [4a84](do_mount)list command: LIST -al [4a84](do_open) [4a84](do_read)read /etc/passwd, 0, 3bd [4a84](execute_open_passive)dsock: 0,dfd: 0,last_off: 0,last_cmd: [4a84](execute_open_passive)reopening data connection... [4a84](execute)executing PASV [4a84](getIP)buf: (83,171,64,6,242,3). [4a84](getIP)(i0,i1,i2,i3,p0,p1)=(53,ab,40,6,f2,3) [4a84](getIP)IP: 53ab4006(6.64.171.83) [4a84](getIP)port: f203 [4a84](execute)executing TYPE I [4a84](get_response)line: 200 Type set to I [4a84](execute)executing RETR /etc/passwd [4a84](get_response)line: 550 /etc/passwd: No such file or directory [4a84](execute_open_passive)bad server response! [4a84](do_read)couldn't open data connection! [4a84](do_release) were@WereHome ~ $ sudo su WereHome were # cd /mnt/ftpline WereHome ftpline # ls listred WereHome ftpline #
»
- Для комментирования войдите или зарегистрируйтесь