Bug 458669 - Enclosure / Save Link As fails with permission problem
Summary: Enclosure / Save Link As fails with permission problem
Status: RESOLVED DOWNSTREAM
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: 5.20.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 18:26 UTC by Bill Dietrich
Modified: 2022-09-05 13:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Dietrich 2022-09-03 18:26:04 UTC
SUMMARY
***
On Solus 4.3 Budgie, doing Enclosure / Save Link As downloads the file, then gives a "could not rename / check permissions" error.
***


STEPS TO REPRODUCE
1. Go to a feed item that has a file (maybe .mp3) enclosure on it.
2. Right-click on the enclosure's link and select "Save Link As".
3. See dialog as the file is downloaded.
4. See dialog saying "Could not rename partial file /home/user1/Videos/FILENAME.mp3.
Please check permissions."
5. I have 755 permission to that directory.
6. Tried "chmod a+w" on that dir, no change.
7. Tried saving to Downloads dir instead, no change.
8. "wget" of that link works.

OBSERVED RESULT
File did not get saved to disk.

EXPECTED RESULT
File should be saved to disk.

SOFTWARE/OS VERSIONS
Linux:  Solus 4.3 Budgie
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
About  /Components says "The xcb windowing system".
Akregator is a native app, not Flatpak or Snap.
Comment 1 Laurent Montel 2022-09-04 09:32:37 UTC
Please could you add a feed url where there is this error ?
Thanks
Comment 2 Bill Dietrich 2022-09-04 11:04:22 UTC
One such feed is https://feeds.simplecast.com/p7S4nr_h
Comment 3 Laurent Montel 2022-09-04 12:22:21 UTC
I can't reproduce problem here.
It seems to be a local problem for me.
Comment 4 Bill Dietrich 2022-09-04 13:43:32 UTC
Is there a maintainer for Solus that you can inform, please ?  I don't know how these things work.

Is there some way this could be a "portals" thing ?  Is the environment relevant ?  On my system, output of "env | grep XDG" is:

> XDG_CONFIG_DIRS=/usr/share/xdg:/etc/xdg:/usr/share
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_MENU_PREFIX=gnome-
> XDG_SESSION_DESKTOP=budgie-desktop
> XDG_SESSION_TYPE=x11
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/user1
> XDG_CURRENT_DESKTOP=Budgie:GNOME
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_CLASS=user
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_DATA_DIRS=/home/user1/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share:/var/lib/snapd/desktop/:/var/lib/snapd/desktop

I'm just guessing; is there some other info I could give ?
Comment 5 Bill Dietrich 2022-09-04 15:53:35 UTC
Additional info: this appears in system journal when the save fails:

> Sep 04 17:47:23 laptop1 akregator[11543]: WebEnginePage::javaScriptConsoleMessage lineNumber:  98  message:  "Mixed Content: The page at 'https://feeds.simplecast.com/p7S4nr_h' was loaded over HTTPS, but requested an insecure image 'http://feeds.feedburner.com/~r/TheAnthropoceneReviewed/~4/CuYfhG-rY6A'. This content should also be served over HTTPS."
> Sep 04 17:47:26 laptop1 akregator[11543]: gtk_file_chooser_default_set_current_name: assertion 'impl->action == GTK_FILE_CHOOSER_ACTION_SAVE || impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed
> Sep 04 17:47:26 laptop1 budgie-wm.desktop[1482]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4a0a53d
Comment 6 Laurent Montel 2022-09-04 17:38:46 UTC
it uses a GTK file dialog.
=> it seems that it's a problem from it.
Comment 7 Joey Riches 2022-09-05 13:02:59 UTC
Downstream packaging problem: see https://dev.getsol.us/T10375. Can be closed.
Comment 8 Joey Riches 2022-09-05 13:05:47 UTC
Feel free to reopen if you want it to work with the GTK file picker. Not my area of knowledge.