Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pan pan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 89
    • Issues 89
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • panpan
  • Issues
  • #53

Closed
Open
Created Sep 22, 2014 by Bugzilla@bugzilla-migration💬Reporter

Support for symlinked newsrc-*

Submitted by Tobias Getzner

Assigned to pan..@..e.bugs

Link to original bug (#737103)

Description

When Pan2 0.139 is closed, it seems that the newsrc-* files in ~/.pan2 are deleted and recreated from scratch. When one’s newsrc-* files in ~/.pan2 are symlinks (e.g. to a synced Dropbox or Owncloud folder), this will case the symlink to be removed and replaced by a regular file.

In order to allow syncing one’s read messages, it would be convenient if symlinks were not clobbered, e.g., by truncating the file in-place and writing out new contents, instead of deleting the old file.

A work-around might be symlinking the entire ~/.pan2 directory, but this is undesirable, as this will also sync chaces or other ephemeral data. One alternative to using in-place writes might be to support the XDG-style directories, and store caches under ~/.cache, while keeping config or state under ~/.config; then one could just symlink the config-directory and leave the .cache directory unsynched.

Thanks for making pan2!

Best regards, T.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking