[Bug 812238] New: FTP server creates with wrong permissions
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c0 Summary: FTP server creates with wrong permissions Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dfreeman@ieee.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 My apologies if this is fixed in a newer release, but this is what my server is running. I recently set up an FTP server using YaST2 under openSUSE 12.1. I was presented with two possible servers to use, and picked the first one. I have these three packages installed, and only vsftpd is currently running: yast2-ftp-server-2.21.1-2.1.1.noarch vsftpd-2.3.4-5.1.3.i586 lukemftp-1.5-736.1.2.i586 The problem is this. Almost every time someone tries to use the FTP server, I find that the file and directory permissions are wrong. I've configured it for anonymous only and anonymous can upload. It has failed due to the FTP root being world writable, which is a bit silly given that it's anonymous only and anonymous can upload. So I fixed that. Now it's failing due to the execute bit not being set on the directories created by remote users. I manually fixed that, and then it failed because it created a file with the permission -r------w- . I have the mask set to 700 for anonymous, so this shouldn't be happening. All files are owned by ftp.ftp This is pretty much unusable. Every action taken by the remote user requires manual intervention. There is only one remote user, and they are using the latest Mac build of FileZilla. It's conceivable that it is misconfigured. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c1 --- Comment #1 from Darren Freeman <dfreeman@ieee.org> 2013-03-28 11:35:12 UTC --- I should add that the ftp root directory is within a filesystem that is also an nfs export. Perhaps that is relevant. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@suse.com AssignedTo|bnc-team-screening@forge.pr |mkudlvasr@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c4 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Severity|Critical |Major --- Comment #4 from Michal Vyskocil <mvyskocil@suse.com> 2013-04-02 11:21:05 UTC --- Hi, I will take a look, just a side note. The umask settings is usually influenced by pam_umask module in common-session. pure-ftpd has been patched to mention it in a config file, so something similar for vsftpd will be needed as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c5 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P4 - Low --- Comment #5 from Michal Vyskocil <mvyskocil@suse.com> 2013-04-04 09:30:08 UTC --- BTW: tested on 3.0.2 @ 12.3 and uploaded file got -rw------- as expected. Please provide /etc/vsftpd.conf and /etc/pam.d/vsftpd, because it seems like configuration issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c6 --- Comment #6 from Darren Freeman <dfreeman@ieee.org> 2013-04-04 12:32:25 UTC --- Created an attachment (id=533499) --> (http://bugzilla.novell.com/attachment.cgi?id=533499) My /etc/vsftp.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812238 https://bugzilla.novell.com/show_bug.cgi?id=812238#c7 Darren Freeman <dfreeman@ieee.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dfreeman@ieee.org | --- Comment #7 from Darren Freeman <dfreeman@ieee.org> 2013-04-04 12:33:25 UTC --- Created an attachment (id=533500) --> (http://bugzilla.novell.com/attachment.cgi?id=533500) My /etc/pam.d/vsftpd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=812238 Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|anicka@suse.com |tchvatal@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com