[Bug 330680] [NEW] SBackup fails if target path contains #

Matej Vitasek vektor330 at gmail.com
Tue Feb 17 19:09:59 UTC 2009


Public bug reported:

Binary package hint: sbackup

When the target directory contains # (number sign), sbackupd fails with message 
"E: Target directory is not writable - please test in simple-config-gnome!"
even though the access rights are set correctly (with no # backup works just fine).

The problem is, according to my quick research, calling the Python
function gnomevfs.make_directory ( http://www.pygtk.org/pygnomevfs
/gnomevfs-functions.html#function-gnomevfs--make_directory ). This
function accepts the target *URI* as the first parameter, but
sbackupd.py passes the original name to it, the one containing #.
According to this http://en.wikipedia.org/wiki/URI everything after # in
an URI is considered the "fragment".

The solution would probably be to URI-encode the target path first.

Using 
Ubuntu 8.10
sbackup version 0.10.5ubuntu2

** Affects: sbackup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SBackup fails if target path contains #
https://bugs.launchpad.net/bugs/330680
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list