Permission change when saving modified pictures

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Permission change when saving modified pictures

Michael Oberhuber
Hello there,

Whenever I save a changed image file with showfoto or image editor (F4) using
digikam 0.9.2final under a different file name ("SAVE AS"), the permissions
of the new file are rw- --- ---

Permissions of the original file, the directory, including standard
permissions are ignored.

I use digikam with multiple users, which all should have access to modified
pictures (rwx rwx r-x). But whenever one saves a modified picture under a new
filename, that newly saved image is only accessible for the owner.
How can I set image editor and showfoto to create new files with standard
directory permissions.

Thanking you in advance

Michael

My config:

opensuse 10.3 factory install
KDE 3.5.7
digikam 0.9.2
ext3 on affected partition
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Permission change when saving modified pictures

Arnd Baecker
Hi,

I have the same problem, but have not been able to track it down ...
(For example, my umask is 022 so that
  echo "" > new
  ls -lh new
  -rw-r--r-- 1 fotos fotos 1 2007-10-12 10:08 new

Gilles, do you have any idea how to track this one down
(wasn't there even a BKO? Hmm, what about:
http://bugs.kde.org/show_bug.cgi?id=113080
http://bugs.kde.org/show_bug.cgi?id=145252
)

Best, Arnd


On Thu, 11 Oct 2007, Michael Oberhuber wrote:

> Hello there,
>
> Whenever I save a changed image file with showfoto or image editor (F4) using
> digikam 0.9.2final under a different file name ("SAVE AS"), the permissions
> of the new file are rw- --- ---
>
> Permissions of the original file, the directory, including standard
> permissions are ignored.
>
> I use digikam with multiple users, which all should have access to modified
> pictures (rwx rwx r-x). But whenever one saves a modified picture under a new
> filename, that newly saved image is only accessible for the owner.
> How can I set image editor and showfoto to create new files with standard
> directory permissions.
>
> Thanking you in advance
>
> Michael
>
> My config:
>
> opensuse 10.3 factory install
> KDE 3.5.7
> digikam 0.9.2
> ext3 on affected partition
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Permission change when saving modified pictures

Gilles Caulier-4
Hi Arnd,

Well, it's simple. All file permissions set by Image Editor and Showfoto are in ImageWidow class.

Look into EditorWindow::moveFile() method, there are few comments. Certainly something is missing.

Gilles

2007/10/12, Arnd Baecker <[hidden email]>:
Hi,

I have the same problem, but have not been able to track it down ...
(For example, my umask is 022 so that
  echo "" > new
  ls -lh new
  -rw-r--r-- 1 fotos fotos 1 2007-10-12 10:08 new

Gilles, do you have any idea how to track this one down
(wasn't there even a BKO? Hmm, what about:
http://bugs.kde.org/show_bug.cgi?id=113080
http://bugs.kde.org/show_bug.cgi?id=145252
)

Best, Arnd


On Thu, 11 Oct 2007, Michael Oberhuber wrote:

> Hello there,
>
> Whenever I save a changed image file with showfoto or image editor (F4) using
> digikam 0.9.2final under a different file name ("SAVE AS"), the permissions
> of the new file are rw- --- ---
>
> Permissions of the original file, the directory, including standard
> permissions are ignored.

>
> I use digikam with multiple users, which all should have access to modified
> pictures (rwx rwx r-x). But whenever one saves a modified picture under a new
> filename, that newly saved image is only accessible for the owner.
> How can I set image editor and showfoto to create new files with standard
> directory permissions.
>
> Thanking you in advance
>
> Michael
>
> My config:
>
> opensuse 10.3 factory install
> KDE 3.5.7
> digikam 0.9.2
> ext3 on affected partition
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Permission change when saving modified pictures

Michael Oberhuber
Am Freitag, 12. Oktober 2007 schrieb Gilles Caulier:
Dear Gilles,

Thanks for your answer. It seems to me that you have realized the problem,
suggesting to Arnd a problem in the source code. Is this change going to be
incorporeated in the next release? Apologies for my ignorance.

Best Regards
Michael


> Hi Arnd,
>
> Well, it's simple. All file permissions set by Image Editor and Showfoto
> are in ImageWidow class.
>
> Look into EditorWindow::moveFile() method, there are few comments.
> Certainly something is missing.
>
> Gilles
>
> 2007/10/12, Arnd Baecker <[hidden email]>:
> > Hi,
> >
> > I have the same problem, but have not been able to track it down ...
> > (For example, my umask is 022 so that
> >   echo "" > new
> >   ls -lh new
> >   -rw-r--r-- 1 fotos fotos 1 2007-10-12 10:08 new
> >
> > Gilles, do you have any idea how to track this one down
> > (wasn't there even a BKO? Hmm, what about:
> > http://bugs.kde.org/show_bug.cgi?id=113080
> > http://bugs.kde.org/show_bug.cgi?id=145252
> > )
> >
> > Best, Arnd
> >
> > On Thu, 11 Oct 2007, Michael Oberhuber wrote:
> > > Hello there,
> > >
> > > Whenever I save a changed image file with showfoto or image editor (F4)
> >
> > using
> >
> > > digikam 0.9.2final under a different file name ("SAVE AS"), the
> >
> > permissions
> >
> > > of the new file are rw- --- ---
> > >
> > > Permissions of the original file, the directory, including standard
> > > permissions are ignored.
> > >
> > > I use digikam with multiple users, which all should have access to
> >
> > modified
> >
> > > pictures (rwx rwx r-x). But whenever one saves a modified picture under
> >
> > a new
> >
> > > filename, that newly saved image is only accessible for the owner.
> > > How can I set image editor and showfoto to create new files with
> >
> > standard
> >
> > > directory permissions.
> > >
> > > Thanking you in advance
> > >
> > > Michael
> > >
> > > My config:
> > >
> > > opensuse 10.3 factory install
> > > KDE 3.5.7
> > > digikam 0.9.2
> > > ext3 on affected partition
> > > _______________________________________________
> > > Digikam-users mailing list
> > > [hidden email]
> > > https://mail.kde.org/mailman/listinfo/digikam-users
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Permission change when saving modified pictures

Gilles Caulier-4


2007/10/16, Michael Oberhuber <[hidden email]>:
Am Freitag, 12. Oktober 2007 schrieb Gilles Caulier:
Dear Gilles,

Thanks for your answer. It seems to me that you have realized the problem,
suggesting to Arnd a problem in the source code. Is this change going to be
incorporeated in the next release? Apologies for my ignorance.

Yes, it can be done for next release. I let's Arnd manage this problem to fix in source code. This can be fixed easily (I'm still busy on KDE4 port of digiKam and kipi-plugins)

Gilles


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Permission change when saving modified pictures

Michael Oberhuber
Am Dienstag, 16. Oktober 2007 schrieb Gilles Caulier:

> 2007/10/16, Michael Oberhuber <[hidden email]>:
> > Am Freitag, 12. Oktober 2007 schrieb Gilles Caulier:
> > Dear Gilles,
> >
> > Thanks for your answer. It seems to me that you have realized the
> > problem, suggesting to Arnd a problem in the source code. Is this change
> > going to be
> > incorporeated in the next release? Apologies for my ignorance.
>
> Yes, it can be done for next release. I let's Arnd manage this problem to
> fix in source code. This can be fixed easily (I'm still busy on KDE4 port
> of digiKam and kipi-plugins)
>
> Gilles

Thanks, I really appreciate your efforts. Digikam is clearly the image and
photo managing program I know.

Michael
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users