Skip to content

Permission on cache files #64

@niklassaers

Description

@niklassaers

Hi,
thanks for making AwesomeCache - I really like it. :-)

But, I'm having a number of crashes, and they are almost always related to writing or reading files. My hypothesis is that the user has locked his or her device, and the device requires a passcode or touch id to unlock. The default now would be that access to files for threads running in the background is locked. I do background fetch, grab some data of the network, and cache the parts I need. During the operation, I also look up items from the cache. When it hits the disk, and reads or writes them from there, what permissions do they have? Can I set them myself? Perhaps on a cache-by-cache level? For these caches, the data isn't sensitive at all, so I can grant them full read/write / no security.

Cheers

Nik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions