Write permissions are given to all users when uploading files to an FTP server
Submitted by lucatrv
Please describe the problem: Gnome Commander 1.2.6 on Ubuntu 8.10 (using local installation of XAMPP as FTP server, but I guess this bug represents also with remote FTP servers)
When I copy files to the FTP server, write permission are given not only to the owner but also for group and others (so the file is writable by all users!). In other words, files are copied with permission 666, and folders with permissions 777.
I point out that Nautilus behaves correctly when uploading files to the FTP server (files are copied with permissions 644, folders with permission 755).
Steps to reproduce:
- Connect to a FTP server
- Upload files to the server
- Check file permissions with 'ls -l'
Actual results: Write permissions are set for all users (files uploaded with 666, folders with 777).
Expected results: File should be uploaded to the server with permissions 644, and folders with permissions 755. This is what happens when I upload files using Nautilus.
Does this happen every time? Yes