Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199978 > unrolled thread
| Started by | Pétùr <peturvilj@gmail.com> |
|---|---|
| First post | 2018-09-11 14:00 +0200 |
| Last post | 2018-09-18 17:30 +0200 |
| Articles | 20 on this page of 44 — 19 participants |
Back to article view | Back to linux.debian.user
File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:00 +0200
Re: File with weird permissions, impossible to delete <tomas@tuxteam.de> - 2018-09-11 14:10 +0200
Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 14:20 +0200
Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-11 14:20 +0200
File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 14:30 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:50 +0200
Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 15:10 +0200
Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 17:00 +0200
Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 18:20 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 19:00 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 15:30 +0200
Re: File with weird permissions, impossible to delete Erik Christiansen <dvalin@internode.on.net> - 2018-09-11 15:00 +0200
Re: File with weird permissions, impossible to delete Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-11 15:10 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 16:50 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 17:30 +0200
Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 19:40 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 19:50 +0200
Re: File with weird permissions, impossible to delete mick crane <mick.crane@gmail.com> - 2018-09-11 20:30 +0200
Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 21:10 +0200
Re: File with weird permissions, impossible to delete Felix Miata <mrmazda@earthlink.net> - 2018-09-12 01:50 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-12 12:10 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 20:30 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 22:30 +0200
Re: File with weird permissions, impossible to delete Ben Caradoc-Davies <ben@transient.nz> - 2018-09-12 01:20 +0200
Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-12 03:30 +0200
Re: red SATA cable corruption (was: File with weird permissions, impossible to delete) Felix Miata <mrmazda@earthlink.net> - 2018-09-12 03:40 +0200
Re: red SATA cable corruption (was: File with weird permissions, impossible to delete) Gene Heskett <gheskett@shentel.net> - 2018-09-12 04:40 +0200
Re: red SATA cable corruption Felix Miata <mrmazda@earthlink.net> - 2018-09-12 05:10 +0200
Re: red SATA cable corruption Gene Heskett <gheskett@shentel.net> - 2018-09-12 08:10 +0200
Re: red SATA cable corruption Curt <curty@free.fr> - 2018-09-12 13:40 +0200
OT high-power radio broadcasting (was Re: red SATA cable corruption) Marty <martyb@ix.netcom.com> - 2018-09-14 20:40 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-14 22:00 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 21:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-18 22:00 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Brian <ad44@cityscape.co.uk> - 2018-09-18 22:10 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 23:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Dominic Knight <dominicknight@gmx.com> - 2018-09-18 23:40 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-19 00:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Martin <keine-eile@online.de> - 2018-09-19 10:20 +0200
Re: File with weird permissions, impossible to delete Zenaan Harkness <zenaan@freedbms.net> - 2018-09-14 03:10 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 15:00 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 16:10 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 16:20 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 17:30 +0200
Page 1 of 3 [1] 2 3 Next page →
| From | Pétùr <peturvilj@gmail.com> |
|---|---|
| Date | 2018-09-11 14:00 +0200 |
| Subject | File with weird permissions, impossible to delete |
| Message-ID | <wwPuN-2dQ-1@gated-at.bofh.it> |
I have some files, with weird permissions: # ls -la d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Cannot delete, cannot change owner or group (what is this user 1061270772 and group 2605320832 by the way?) even for root. How can I get rid of these? Pétùr
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2018-09-11 14:10 +0200 |
| Message-ID | <wwPEu-2wy-25@gated-at.bofh.it> |
| In reply to | #199978 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Whoa. 'S' is a setuid file which is not executable. Exotic, to say the least. Perhaps you are dealing with file system corruption. Do you have a backup? > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even for root. The UID and GID are pretty strange too. The error message (when you try to delete it) would be interesting. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAluXrlsACgkQBcgs9XrR2kbMCQCeKDoR5jOQL1LI1+hjYJ6O/SN/ 8vwAnjZeeoC1fn9A6chfzF4Z8yLoAXJa =G1g5 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2018-09-11 14:20 +0200 |
| Message-ID | <wwPOa-2zU-61@gated-at.bofh.it> |
| In reply to | #199979 |
Hi, Pétùr wrote: > > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html tomas@tuxteam.de wrote: > Whoa. 'S' is a setuid file which is not executable. Exotic, to say > the least. Not to speak of the year 2412, and "index.html" being a directory. > Perhaps you are dealing with file system corruption. This looks like the inode is filled with garbage. To Pétùr: What do you get from command stat index.html and what error message do you get from attempts to chmod or chown the file ? Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2018-09-11 14:20 +0200 |
| Message-ID | <wwPO9-2zU-21@gated-at.bofh.it> |
| In reply to | #199978 |
On Tuesday 11 September 2018 07:52:15 Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even for root. > > How can I get rid of these? > > Pétùr Need more info, but gut reaction says to reformat and re-install. And put a copy of dd-wrt in a decent router between you and the net. Best guard dog ever, never sleeps. -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Martin <keine-eile@online.de> |
|---|---|
| Date | 2018-09-11 14:30 +0200 |
| Message-ID | <wwPXQ-2CN-5@gated-at.bofh.it> |
| In reply to | #199978 |
What file system? What does 'lsattr' say? Am 11.09.2018 um 13:52 schrieb Pétùr: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even for root. > > How can I get rid of these? > > Pétùr >
[toc] | [prev] | [next] | [standalone]
| From | Pétùr <peturvilj@gmail.com> |
|---|---|
| Date | 2018-09-11 14:50 +0200 |
| Message-ID | <wwQhc-2J7-9@gated-at.bofh.it> |
| In reply to | #199983 |
I have two files with this problem. The first one (index.html) which is considered as directory is in .local/share/Trash/expunged and the second one is a thumb of shotwell: $ ls -la .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg --wS-w--wT 1 680132648 44094674 24576 mars 27 2211 .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg Le 11/09/2018 à 14:27, Martin a écrit : > What file system? ext4 > What does 'lsattr' say? # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg s---i-d---j-------- .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > rm # rm -fvr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg rm: cannot remove '.cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg': Operation not permitted (the same for chown) > What do you get from command stat index.html stat .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg File: .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg Size: 24576 Blocks: 32 IO Block: 4096 regular file Device: 802h/2050d Inode: 4744568 Links: 1 Access: (5222/--wS-w--wT) Uid: (680132648/ UNKNOWN) Gid: (44094674/ UNKNOWN) Access: 2017-07-08 16:44:21.763005816 +0200 Modify: 2211-03-27 19:08:40.011012642 +0100 Change: 2290-05-04 13:52:16.011012642 +0100 Birth: -
[toc] | [prev] | [next] | [standalone]
| From | Martin <keine-eile@online.de> |
|---|---|
| Date | 2018-09-11 15:10 +0200 |
| Message-ID | <wwQAy-34k-13@gated-at.bofh.it> |
| In reply to | #199986 |
Am 11.09.2018 um 14:48 schrieb Pétùr: > I have two files with this problem. > > The first one (index.html) which is considered as directory is in > .local/share/Trash/expunged > > and the second one is a thumb of shotwell: > > $ ls -la .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > --wS-w--wT 1 680132648 44094674 24576 mars 27 2211 > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > > Le 11/09/2018 à 14:27, Martin a écrit : >> What file system? > > ext4 > >> What does 'lsattr' say? > > # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > s---i-d---j-------- > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg Here we see; This thing has the immutable flag set. This is a part of (not only) ext4's acl implementation. See man pages of lsattr and chattr. Use 'sudo chattr -i [file]' to remove that flag. > >> rm > [...]
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2018-09-11 17:00 +0200 |
| Message-ID | <wwSj0-3Rt-5@gated-at.bofh.it> |
| In reply to | #199991 |
Hi, i wrote: > > What do you get from command stat index.html Pétùr wrote: > File: .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > Size: 24576 Blocks: 32 IO Block: 4096 regular file > Device: 802h/2050d Inode: 4744568 Links: 1 > Access: (5222/--wS-w--wT) Uid: (680132648/ UNKNOWN) Gid: (44094674/ > UNKNOWN) > Access: 2017-07-08 16:44:21.763005816 +0200 > Modify: 2211-03-27 19:08:40.011012642 +0100 > Change: 2290-05-04 13:52:16.011012642 +0100 Size, Blocks, Links, and Access time look significantly healthy. "IO Block" too, if it is what man 2 stat has as struct stat.st_blksize. Device and Inode do not look wrong, at least. (You could compare Device with the value of a healthy file in the same filesystem. They must be identical.) Uid, Gid, Modify date, and Change date are obviously damaged. The other file seems to have got hit more completely. Pétùr wrote: > > # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > > s---i-d---j-------- > > '.cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg': Operation > > not permitted Martin wrote: > Here we see; This thing has the immutable flag set. [...] Good catch. man chattr says: secure deletion (s), no dump (d), data journalling (j). If other files on the same filesystem do not have these flags, then probably they are garbage, too. My normal files on ext4 only have the flag "extent format (e)". Something trampled the parent directory or its attached data structures. Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
|---|---|
| Date | 2018-09-11 18:20 +0200 |
| Message-ID | <wwTyp-4Kx-11@gated-at.bofh.it> |
| In reply to | #199994 |
"Thomas Schmitt" <scdbackup@gmx.net> writes: > > Something trampled the parent directory or its attached data structures. It appears to be the two inodes, not the parent directory, that got trampled.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2018-09-11 19:00 +0200 |
| Message-ID | <wwUb8-4Y5-13@gated-at.bofh.it> |
| In reply to | #199996 |
On Tue, Sep 11, 2018 at 09:49:32AM -0600, Joe Pfeiffer wrote: >"Thomas Schmitt" <scdbackup@gmx.net> writes: >> Something trampled the parent directory or its attached data structures. > >It appears to be the two inodes, not the parent directory, that got >trampled. The problem is that it's fairly unlikely that two inodes in two different directories got trashed, and nothing else. Mike Stone
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2018-09-11 15:30 +0200 |
| Message-ID | <wwQTT-3au-3@gated-at.bofh.it> |
| In reply to | #199986 |
On Tue 11 Sep 2018 at 14:48:45 (+0200), Pétùr wrote: > I have two files with this problem. > > The first one (index.html) which is considered as directory is in > .local/share/Trash/expunged > > and the second one is a thumb of shotwell: > > $ ls -la .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > --wS-w--wT 1 680132648 44094674 24576 mars 27 2211 > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg It looks as if they're both on /home. Do you have /home mounted as a separate partition? If so, then then damage (which is what I think it is) may be limited to there. If so, I would treat anything in /home as potentially suspect. What to do next might well depend on how well your files are backed up. I would take a copy of the partition as it stands, then fsck it and see how much damage that finds. At that point you would need to decide whether to live with the fsck'd partition or to reformat it and restore from backups. If you reformat/restore, you could then check out the files on the copy that have dates younger than the backup and, if happy with their integrity, copy them back. All in all, I think you should concentrate on ascertaining the integrity of the rest of your files before assuming that deleting two of them will make things hunky dory adagin. And it does seem more likely to me that the cause of the problem is your system rather than an unsatisfactory router. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Erik Christiansen <dvalin@internode.on.net> |
|---|---|
| Date | 2018-09-11 15:00 +0200 |
| Message-ID | <wwQqS-2M2-9@gated-at.bofh.it> |
| In reply to | #199978 |
On 11.09.18 13:52, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html OK, you have the suid, sgid, and sticky bits set, and it's a directory. Execute (directory navigate) permission is off. > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even for root. Linux supports 32 bit uids and gids, so those numbers seem OK. The blockage will be the sticky bit, if your effective UID is not root. > How can I get rid of these? I'd also check that the filesystem is not mounted "noexec", and please post the permissions on the parent directory, as its ownership and permissions are just as relevant as what is shown. Erik
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2018-09-11 15:10 +0200 |
| Message-ID | <wwQAy-34k-7@gated-at.bofh.it> |
| In reply to | #199978 |
On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Obvious file system corruption. Unmount, fsck, re-mount, and then be prepared to restore the data from your last good backup if/when the fsck failed to repair everything.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2018-09-11 16:50 +0200 |
| Message-ID | <wwS9j-3Og-9@gated-at.bofh.it> |
| In reply to | #199990 |
On Tue, Sep 11, 2018 at 08:59:56AM -0400, Greg Wooledge wrote: >On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: >> I have some files, with weird permissions: >> >> # ls -la >> d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > >Obvious file system corruption. Unmount, fsck, re-mount, and then >be prepared to restore the data from your last good backup if/when >the fsck failed to repair everything. +1, except that fsck is not likely to help and you should probably move right to backups. (looking through the backups to find out when the corruption started...) Mike Stone
[toc] | [prev] | [next] | [standalone]
| From | Pétùr <peturvilj@gmail.com> |
|---|---|
| Date | 2018-09-11 17:30 +0200 |
| Message-ID | <wwSM2-4fQ-11@gated-at.bofh.it> |
| In reply to | #199993 |
Le 11/09/2018 à 16:44, Michael Stone a écrit : > On Tue, Sep 11, 2018 at 08:59:56AM -0400, Greg Wooledge wrote: >> On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: >>> I have some files, with weird permissions: >>> >>> # ls -la >>> d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html >> >> Obvious file system corruption. Unmount, fsck, re-mount, and then >> be prepared to restore the data from your last good backup if/when >> the fsck failed to repair everything. > > +1, except that fsck is not likely to help and you should probably move > right to backups. (looking through the backups to find out when the > corruption started...) > > Mike Stone > Thanks everyone for the output. I have theses two files for quite some time now and the system is working great without any issue. Maybe these files were generated by a power shutdown or by a partition full (my machine was not rebooting correctly sometimes ago because a script fills out all the space available). The permissions of the folders of the corrupt files are normal. I will make some backup, then try fsck and leave the corrupted files if fsck doesn't get rid of them, maybe reformate later. Pétùr
[toc] | [prev] | [next] | [standalone]
| From | Martin <keine-eile@online.de> |
|---|---|
| Date | 2018-09-11 19:40 +0200 |
| Message-ID | <wwUNP-5ph-5@gated-at.bofh.it> |
| In reply to | #199995 |
Pétùr, don't get crazy about FS corruption. There is no sign this is the case so far. Date and UID's are odd, but valid within ext4. Remove the immutable flag (chattr -i), you will be able to alter the files as you like. One hint will be, check if your system time is ok (both, date and hwclock!), may be there is a reason for this odd timestamps. [...] > > Thanks everyone for the output. > > I have theses two files for quite some time now and the system is working great without any issue. > > Maybe these files were generated by a power shutdown or by a partition full (my machine was not rebooting correctly sometimes ago because a script fills out all the space available). > > The permissions of the folders of the corrupt files are normal. > > I will make some backup, then try fsck and leave the corrupted files if fsck doesn't get rid of them, maybe reformate later. > > Pétùr >
[toc] | [prev] | [next] | [standalone]
| From | Pétùr <peturvilj@gmail.com> |
|---|---|
| Date | 2018-09-11 19:50 +0200 |
| Message-ID | <wwUXw-5sE-5@gated-at.bofh.it> |
| In reply to | #200000 |
Le 11/09/2018 à 19:34, Martin a écrit : > > don't get crazy about FS corruption. There is no sign this is the case so far. Date and UID's are odd, but valid within ext4. Remove the immutable flag (chattr -i), you will be able to alter the files as you like. > > One hint will be, check if your system time is ok (both, date and hwclock!), may be there is a reason for this odd timestamps. Thanks for the reassuring words. I deleted the file .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg without issue after chattr -i on this file. However, it didn't work for the index.html file which is considered as a folder. # ls -la .local/share/Trash/expunged/1257950219/ myfolder/files/fullsize/index.html total 16 d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 . drwx------ 3 petur petur 12288 avril 25 12:21 ..
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2018-09-11 20:30 +0200 |
| Message-ID | <wwVAe-5U7-5@gated-at.bofh.it> |
| In reply to | #200001 |
On 2018-09-11 18:45, Pétùr wrote: > Le 11/09/2018 à 19:34, Martin a écrit : >> >> don't get crazy about FS corruption. There is no sign this is the case >> so far. Date and UID's are odd, but valid within ext4. Remove the >> immutable flag (chattr -i), you will be able to alter the files as you >> like. >> >> One hint will be, check if your system time is ok (both, date and >> hwclock!), may be there is a reason for this odd timestamps. > > Thanks for the reassuring words. > > I deleted the file > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > > without issue after chattr -i on this file. > > However, it didn't work for the index.html file which is considered as > a folder. > > > # ls -la .local/share/Trash/expunged/1257950219/ > myfolder/files/fullsize/index.html > total 16 > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 . > drwx------ 3 petur petur 12288 avril 25 12:21 .. what about moving everything else in full size somewhere and then rm -rf /path_to/fullsize ? mick -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
|---|---|
| Date | 2018-09-11 21:10 +0200 |
| Message-ID | <wwWcW-6mw-13@gated-at.bofh.it> |
| In reply to | #200001 |
Pétùr <peturvilj@gmail.com> writes: > Le 11/09/2018 à 19:34, Martin a écrit : >> >> don't get crazy about FS corruption. There is no sign this is the >> case so far. Date and UID's are odd, but valid within ext4. Remove >> the immutable flag (chattr -i), you will be able to alter the files >> as you like. >> >> One hint will be, check if your system time is ok (both, date and >> hwclock!), may be there is a reason for this odd timestamps. > > Thanks for the reassuring words. > > I deleted the file > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > > without issue after chattr -i on this file. > > However, it didn't work for the index.html file which is considered as > a folder. > > > # ls -la .local/share/Trash/expunged/1257950219/ > myfolder/files/fullsize/index.html > total 16 > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 . > drwx------ 3 petur petur 12288 avril 25 12:21 .. I realize you've almost certainly already thought of this, but I sort of have to point it out -- did you try using rmdir?
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2018-09-12 01:50 +0200 |
| Message-ID | <wx0zU-ml-3@gated-at.bofh.it> |
| In reply to | #200001 |
Pétùr composed on 2018-09-11 19:45 (UTC+0200): > Martin composed: >> don't get crazy about FS corruption. There is no sign this is the case so >> far. Date and UID's are odd, but valid within ext4. Remove the immutable >> flag (chattr -i), you will be able to alter the files as you like. >> One hint will be, check if your system time is ok (both, date and >> hwclock!), may be there is a reason for this odd timestamps. > Thanks for the reassuring words. > I deleted the file > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg Deleted exactly how? > without issue after chattr -i on this file. > However, it didn't work for the index.html file which is considered as a > folder. Exactly how did you try? > # ls -la .local/share/Trash/expunged/1257950219/ > myfolder/files/fullsize/index.html total 16 d-wS--S--T 2 1061270772 > 2605320832 4096 oct. 7 2412 . drwx------ 3 petur petur 12288 > avril 25 12:21 .. If by delete you really mean move to trash using some GUI file manager, likely the trash system will not accept the corruption. :-p Have you ever tried using the F8 key in Midnight Commander? -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | linux.debian.user
csiph-web