On 06/09/2019 15:09, Bit Twister wrote:
On Fri, 6 Sep 2019 15:03:00 +0100, Ar wrote:
Since upgrading to Mageia 7, the application Digikam has deleted photos
I deleted by accident (accidental mouse click when hovering), straight
away forever - WITHOUT sending them to trash.
I would verify that everything in your user account is owned by you.
find $HOME \( -not -user $USER -or -not -group $USER \) -exec ls -al '{}' \;
That commend didn't show anything (I adjusted the path hopefully
correctly, as the files are on a different drive). All directories and
files have the same user and group as other files I've created in $HOME.
Anyway, I remember that the directory that Digikam is using for the
photos were originally on an NTFS drive, and after upgrade are on a ext4 drive, so I had to give the directories and files permissions for Linux
to see the files.
User name/group/date removed from listing below.. These are the
permissions I gave the directories after the hard drive move from NTFS
to ext4:
4 drwxr--r-- 5 2018-07/
4 drwxr--r-- 6 2018-08/
Below is the permissions Digikam is creating for directories I create
when I make a new gallery:
4 drwxrwxr-x 2 2019-06/
4 drwxrwxr-x 2 2019-07/
4 drwxrwxr-x 6 2019-08/
Should I change the other directories to the same r-w-x permissions as
Digikam has created?
Second, irrespective of the directory permissions, deleting a file from
what were NTFS directories (now ext4) or directories Digikam has created
makes no difference, the files just delete straight away, no moving into
the trash / recycle bin. I didn't have a delete problem before the
Mageia 7 upgrade.
Checking permissions of files in directories, I have:
Files from NTFS > ext4 change
-rwxr--r-- 1 Aug 13 2016 DSC_2246.NEF*
-rwxr--r-- 1 Aug 13 2016 DSC_2247.NEF*
What Digikam is producing now:
-rw-rw-r-- 1 Jun 28 14:02 DSC_6751.NEF
-rw-rw-r-- 1 Jun 29 18:08 DSC_6752.NEF
Should I also adjust the old NTFS files to the r-w-x that Digikam is using?
--- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
* Origin: - (2:250/1@fidonet)