https://bugs.freedesktop.org/show_bug.cgi?id=72524
Priority: medium
Bug ID: 72524
Assignee: [email protected]
Summary: Can't handle correctly FTP URLs received from nautilus
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.1.3.2 release
Component: Libreoffice
Product: LibreOffice
Pre-requisites:
1. Install vsftpd.
2. Ensure that you have 'local_enable=YES' and 'seccomp_sandbox=NO' in config
file.
(3. Under Fedora disable SELinux using 'sudo setenforce 0'.)
4. Create a file ('test.odt') in your Documents dir.
5. Ensure that you can open this file from the command line using
'libreoffice ftp://username@localhost/Documents/test.odt'
(where 'username' is your user name).
First scenario:
1. Make sure you don't have 'chroot_local_user=YES' activated in config file.
2. Open Nautilus (so called 'Files').
3. From the menu choose 'Connect to server', and type 'ftp://localhost/'.
4. Open Documents folder and double-click on the file.
5. You'll get 'Access to ftp://localhost/home/username/Documents/test.odt was
denied' message. LO gets in that case the following URL as argument, which it
can't handle (compare with the above command line):
'ftp://localhost/home/username/Documents/test.odt'
Second scenario:
1. Set 'chroot_local_user=YES'.
2. Set your home folder as read-only (don't forget to change it back after
confirming the bug!).
3. Connect using Nautilus to 'ftp://localhost/' (same error message as above).
In that case LO gets 'ftp://localhost/Documents/test.odt', and it fails
probably because it assumes that if no username specified in the command line,
it should be anonymous.
4. However if you connect to the server with 'ftp://username@localhost/' it
will work.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs