Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 120140
Status: new
Priority: 0/
Queue: libnet

Owner: Nobody in particular
Requestors: ToddAndMargo [...]

Bug Information
Severity: Important
Broken in: 3.10
Fixed in: (no value)

Subject: Net:FTP can not rename or delete files stating with a dot
Download (untitled) / with headers
text/plain 160b
C:\NtUtil>perl -MNet::FTP -le "print "$Net::FTP::VERSION"; 3.10 Net:FTP can not rename or delete files stating with a dot. For example ".metadata" and ".lock"
From: ToddAndMargo [...]
Download (untitled) / with headers
text/plain 1.1k
I am able to delete files that start with a dot with a Linux command line ftp utility Client: Windows 7 Pro x32, fully updated strawberry-perl- Net::FTP 3.10 FTP Server: Fedora Core 25, x64 vsftpd-3.0.3-3.fc25.x86_64 All the file permissions are 0755 on the user's ftp directory See attachment for vsftpd.conf FTP command line client used to test capability to delete: ftp-0.17-70.fc24.x86_64 (also on Fedora Core 25) Note: 1) Net::FTP fails to rmdir with recurse if it trips across a file that starts with a dot 2) As Net::FTP's dir and ls have not Linux equivalent of "ls -a", Net:FTP dir and ls will not show a file starting with a dot unless you ask specifically for it with ".*" $ftp->ls ( "$DirPath/.*" ) This I do believe is because files starting with a dot acre considered "hidden" in Linux. For example "~/.config" and "~/.mozilla". This may also be why Net::FTP's rmdir's recurse failed when subdirectories contain files with dots in them. Please let me know if you want me to throw some test code together as to how to reproduce this Many thanks, -T
Subject: vsftpd.conf
Download vsftpd.conf
text/plain 474b
# /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 anon_upload_enable=NO anon_mkdir_write_enable=NO dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES chroot_local_user=YES allow_writeable_chroot=YES user_sub_token=$USER local_root=/home/$USER/ftp listen=YES listen_ipv6=NO pam_service_name=vsftpd userlist_enable=NO tcp_wrappers=YES pasv_enable=Yes pasv_max_port=10100 pasv_min_port=10090
From: ToddAndMargo [...]
Download (untitled) / with headers
text/plain 209b
Please cancel this bug report. I found a bug in my code. There is a dot file issue with Net::FTP:rmdir RECURSE that was tripping me up. I will open a new, less cluttered bug on this. Sorry for the trouble.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to