Kio vs encfs vs Kate: exec permission
Arnaldo Candido Junior
arnaldoponto at gmail.com
Mon Nov 7 21:29:45 UTC 2016
Thank's for the quick answer.
Yes, I'm using encfs locally in my Kubuntu 16.04. Some details follow below.
I'm not using any mount options. Umask under the folder returns 0002. I
don't think it's an umask problem, since vim, touch and stdout redirection
seem to work as expected.
How to reproduce this behavior (considering encfs installed).
$ mkdir src dst
$ encfs $(pwd)/src $(pwd)/dst
$ touch dst/a.txt
$ vim dst/a.txt # until now, no exec permission
$ kate dst/a.txt # after saving, the permission will change
Best regards,
Arnaldo
On Mon, Nov 7, 2016 at 4:41 PM, Dominik Haumann <dhaumann at kde.org> wrote:
> On Mon, Nov 7, 2016 at 2:45 PM, Arnaldo Candido Junior
> <arnaldoponto at gmail.com> wrote:
> > Hello
> >
> > I'm using encfs to encrypt some of my folders. Whenever I use Kate to
> edit
> > and save any file under these folders, the file receives exec permission.
> >
> > I suppose this is a bug. Kate developers advised me to contact Kio
> > developers.
> >
> > I would like to ask if there is any workaround to solve this.
>
> I assume you use encfs to mount a partition and then use this folder
> as if it were a local folder and files, right?
>
> In that case, it is unlikely that it is KIO's fault. What are your
> mount options? What does `umask` say in a folder in the konsole ?
>
> Btw, the file owner may change, since Kate uses QSaveFile: It first
> saves to a temporary file in the same folder, and on success, removes
> the old one and renames the new one.
>
> Greetings
> Dominik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161107/51bb7d1f/attachment.html>
More information about the Kde-frameworks-devel
mailing list