default file permission for imported pictures

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

default file permission for imported pictures

Nicolas Roy
Hej Community,

I share a large photos folder with the other users of my desktop. The
problem is that, when i import pictures from my camera (or from a SD
card), the new files get automatically the permissions rights -rw-r--r--
which means that the other users can't modify the files.
Of course, i don't want to have to chmod each time i import a photo. Is
it possible to set somewhere in Digikam config parameters another
default permission pattern (rw-rw-rw ) ?

thanks in advance

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

Re: default file permission for imported pictures

Nicolas Roy
Any idea about the following problem ?

> Hej Community,
>
> I share a large photos folder with the other users of my desktop. The
> problem is that, when i import pictures from my camera (or from a SD
> card), the new files get automatically the permissions rights -rw-r--r--
> which means that the other users can't modify the files.
> Of course, i don't want to have to chmod each time i import a photo. Is
> it possible to set somewhere in Digikam config parameters another
> default permission pattern (rw-rw-rw ) ?
>
> thanks in advance
>
> nicolas
> _______________________________________________
> 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: default file permission for imported pictures

Andrew Goodbody
I assume that the permissions are a result of your account default
umask. AFAIK digikam has not setting to set permissions of files, that
is all left to the file system. So you need to work with the file system
to achieve what you want. You could do this by changing your umask but
that would affect all files you create and be a security risk. If you
look at http://content.hccfl.edu/pollock/AUnix1/FilePermissions.htm 
especially the section on ACLs which could allow you to set the
directories where you store your photos to behave how you want,
depending on how your distribution is set up for ACLs or not.

Andrew

On 11/07/11 07:26, [hidden email] wrote:

> Any idea about the following problem ?
>
>> Hej Community,
>>
>> I share a large photos folder with the other users of my desktop. The
>> problem is that, when i import pictures from my camera (or from a SD
>> card), the new files get automatically the permissions rights -rw-r--r--
>> which means that the other users can't modify the files.
>> Of course, i don't want to have to chmod each time i import a photo. Is
>> it possible to set somewhere in Digikam config parameters another
>> default permission pattern (rw-rw-rw ) ?
>>
>> thanks in advance
>>
>> nicolas
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users