Quote:
Originally Posted by kilgoretrout
For the directory with the problem files, could you post the output of:
and:
And for the problem file, post the output of:
Code:
# getfacl lists.xls
Also, how is your backup drive formatted, eg ntfs, vfat, ext4?
|
The USB backup drive is "fuse" file format.
Context for the following outputs:
Four of the five files which will not update/delete are in this directory.
You will see four files with a "+" at the end. It is the files with the same name as these BUT WITHOUT THE "+" which will not update/delete.
[root@lenofedo Documents]# ls -l
total 1288
drwxrwxrwx. 1 u u 8192 Feb 21 16:23 accounting
-rwxrwxrwx. 1 u u 21891 Oct 5 09:35 addresses.ods
-rwxrwxrwx. 1 u u 30039 Jan 28 2017 allchileforum.odt
drwxrwxrwx. 1 u u 4096 Jan 16 18:00 andrew
-rwxrwxrwx. 1 u u 63102 Nov 28 20:22 BooksMoviesMusic.ods
drwxrwxrwx. 1 u u 4096 Sep 13 19:03 business+work
drwxrwxrwx. 1 u u 4096 Oct 19 2019 corporate+BASes
drwxrwxrwx. 1 u u 4096 May 2 2020 ebooks
drwxrwxrwx. 1 u u 4096 Feb 21 16:23 familia
drwxrwxrwx. 1 u u 24576 Apr 26 2020 GX280SavedData
drwxrwxrwx. 1 u u 4096 May 26 2019 investment
-rwxrwxrwx. 1 u u 13555 Dec 19 20:29 KnowledgeAustralia.odt
-rwxrwxrwx. 1 u u 39519 Feb 6 11:22 knowledgeGeneral+.odt
-rwxrwxrwx. 1 u u 39641 Mar 12 2020 knowledgeGeneral.odt
-rwxrwxrwx. 1 u u 168448 Feb 21 17:39 lists+.xls
-rwxrwxrwx. 1 u u 164864 Mar 29 2020 lists.xls
drwxrwxrwx. 1 u u 4096 Jul 5 2020 music+videos
drwxrwxrwx. 1 u u 20480 Jan 16 18:00 pend
drwxrwxrwx. 1 u u 8192 Nov 23 2019 PublicDocumentsOnWin7box
-rwxrwxrwx. 1 u u 161577 Feb 21 16:48 quotes+.odt
-rwxrwxrwx. 1 u u 137931 Mar 29 2020 quotes.odt
-rwxrwxrwx. 1 u u 24386 Oct 31 08:36 residences+workcontracts+overseasTrips.odt
drwxrwxrwx. 1 u u 4096 Feb 21 16:23 shares
drwxrwxrwx. 1 u u 8192 Jul 5 2020 slates
drwxrwxrwx. 1 u u 20480 Feb 21 16:23 technology+websites+OurHardwareSoftware+Items+Receipts
drwxrwxrwx. 1 u u 4096 Jul 26 2020 torrents
drwxrwxrwx. 1 u u 8192 Sep 13 19:03 trading
-rwxrwxrwx. 1 u u 48126 Mar 29 2020 URLsDesde1201.ods
-rwxrwxrwx. 1 u u 49534 Feb 13 00:58 URLsDesde1201+.ods
drwxrwxrwx. 1 u u 4096 Feb 21 16:23 ViajeTravel
[root@lenofedo Documents]#
You can see that the permissions of those with the "+" are the same as the permissions of those which will not update/delete, without the "+".
[root@lenofedo Documents]# lsattr
lsattr: Invalid argument While reading flags on ./music+videos
. . . with the same output for the entire directory.
(Reading the lsattr man page, it appears it is only for ext2 file systems, which this is not.)
[root@lenofedo Documents]# getfacl lists.xls
# file: lists.xls
# owner: u
# group: u
user::rwx
group::rwx
other::rwx
[root@lenofedo Documents]#