fredldotme / git-confined-snap

A Snap of Git for confined environments
1 stars 1 forks source link

snap connection for personal files #1

Open Fuseteam opened 1 week ago

Fuseteam commented 1 week ago

I like to place my source directories into ~/.local/src as i consider that the local user equivalent of /usr/local/src but due to snap's confinement the access to it is denied.

It appears the home interface only permits access to non-hidden files and directories to give it access to the hidden folders we'll need the personal files interface

fredldotme commented 1 week ago

I am not sure it's possible to do this fairly without opening up a can of worms. If other users have then again completely different setups then it becomes impossible to maintain all possible variations.

Fuseteam commented 1 week ago

Not many variations with this one, you have home with hidden directories or home without hidden directories. You could replace home with personal-files to keep it simple. if i understand it correctly the latter is a superset of the former

fredldotme commented 1 week ago

No what I mean is someone else might come along and claim "but you enabled .local/src, how about my .local/src-because-I-wont-comply"

EDIT: Alright, if you provide a PR I'll see what we can do, but it will require permission by the Snap Store team.

Fuseteam commented 1 week ago

No what I mean is someone else might come along and claim "but you enabled .local/src, how about my .local/src-because-I-wont-comply"

Oh both would be covered by personal-files, if i understand correctly

Fuseteam commented 1 week ago

EDIT: Alright, if you provide a PR I'll see what we can do, but it will require permission by the Snap Store team.

Do you want to me to add it as an additional plug or to replace home with it?