Unexplained emblems on some of Fatdog ISOs (SOLVED)
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Unexplained emblems on some of Fatdog ISOs (SOLVED)
Could someone explain why some file have these while most dont? I cannot find an explanation.
Thanks in advance
Last edited by Clarity on Wed Sep 16, 2020 6:15 pm, edited 1 time in total.
Re: Fatdog64-811 Final [10 Sep 2020]
It's an indicator of extended attributes. IIRC some browsers add it automatically to downloaded files.
You can view/edit/delete them via right-click -> Extended attributes....
EDIT: I split this to a separate thread.
Greetings!
You can view/edit/delete them via right-click -> Extended attributes....
EDIT: I split this to a separate thread.
Greetings!
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Omnia mea mecum porto.
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
Thanks for proper placement of this thread's request for help.
OK, extended attribs....???
Confused
OK, extended attribs....???
- What is creating these attribs?
- And should there be some/any attention paid for when files get these assigned?
Confused
-
- Posts: 546
- Joined: Thu Aug 13, 2020 9:55 am
- Has thanked: 57 times
- Been thanked: 198 times
- Contact:
Re: Unexplained emblems on some of Fatdog ISOs
https://www.mankier.com/1/setfattr To get you started. Particularly attr(5) in section SEE ALSO.
Follow the connection between the files and the program you used to download them As SFR did say, some browser do -- when they download a file for you. Which browser did you use to download the Fatdog ISOs? In recent years, I've only seen Opera add attrs to downloaded files. As far as I know, Opera doesn't anymore. Another one that does is wget when passed option --xattr, IIRC.What is creating these attribs?
You don't have to do anything, the browser (supposedly, in your case) added these attrs to the download. If you don't want that to happen you can either find out which browser setting to disable or delete the attrs with the commands I linked above.And should there be some/any attention paid for when files get these assigned?
If you move the files with rox filer, the attrs move with the files. They don't depend on a particular folder. However, the file system matters. if you move the files that have attrs to a file system that doesn't support attrs, such as fat32, the attrs are gone forever from the copies in the fat32 file system.Right now, the attribs, as you say, are only on a few of the ISOs in this folder. Why?
Only some files in that folder have attrs, why? My guess is that the other files were not downloaded or they were downloaded with a different browser. Follow the connection between the files and the program you used to download them.
Hopefully, not as much now. You can experiment with the commands I linked to on some test files in the shell. Attrs don't harm your files.Confused
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
Thanks eversomuch! That'll cause me to pay attentions as I use various sources to download files, including wget & curl & browsers.
Thanks for making that understandable.
Thanks for making that understandable.
Re: Unexplained emblems on some of Fatdog ISOs
lsattr * (or filename).
I'm using btrfs format filesystem (instead of ext4) on one partition and some files show that emblem indicating that the compression attribute for the file is set in some cases.
I'm using btrfs format filesystem (instead of ext4) on one partition and some files show that emblem indicating that the compression attribute for the file is set in some cases.
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
So, those flags indicate the compression attribute?
If so, is the flag there to tell the I/O subsystem that decompression is required for proper use?
If so, is the flag there to tell the I/O subsystem that decompression is required for proper use?
Re: Unexplained emblems on some of Fatdog ISOs
No the emblem just indicates that a chattr (special attribute) has been set on the file/folder. It could for instance be the immutable attribute having been set (chattr +i <file>), that prevents the file/folder from being modified, renamed, deleted (or having a soft/hard link set (even by root)).Clarity wrote: Mon Sep 14, 2020 10:17 pm So, those flags indicate the compression attribute?
If so, is the flag there to tell the I/O subsystem that decompression is required for proper use?
It also depends upon what filesystem you're actually using. Under ext I don't think the flag/emblem shows within rox ??
-
- Posts: 717
- Joined: Tue Aug 11, 2020 3:02 pm
- Location: The Pale Blue Dot
- Has thanked: 124 times
- Been thanked: 402 times
Re: Fatdog64-811 Final [10 Sep 2020]
@Clarity, did you do what Jake said?JakeSFR wrote: Fri Sep 11, 2020 9:12 am It's an indicator of extended attributes. IIRC some browsers add it automatically to downloaded files.
You can view/edit/delete them via right-click -> Extended attributes....
Can you post a screenshot of the results?
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
@jamesbond, maybe this yields clues I may have missed.
I dont remember which of the various ways I download files, as they vary depending...
And here's the FD811 added few days ago.
And here's the FD811 added few days ago.
- Attachments
-
- xscreenshot-20200915T113738.png (19.13 KiB) Viewed 595 times
Last edited by Clarity on Tue Sep 15, 2020 4:45 pm, edited 2 times in total.
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
If I interpret those 2, it seems the mirrors "may" be injecting file attributes.
-
- Posts: 717
- Joined: Tue Aug 11, 2020 3:02 pm
- Location: The Pale Blue Dot
- Has thanked: 124 times
- Been thanked: 402 times
Re: Unexplained emblems on some of Fatdog ISOs
You keep ignoring answers already given to you. First response to your OP:Clarity wrote: Tue Sep 15, 2020 3:45 pm If I interpret those 2, it seems the mirrors "may" be injecting file attributes.
And step's response a few posts underneath:JakeSFR wrote:IIRC some browsers add it automatically to downloaded files.
But since apparently you don't believe either of them, here is something that I hope you find to be more trustable: the Debian bug report: chromium: secretly stores referer and url for downloaded files.step wrote:the browser (supposedly, in your case) added these attrs to the download
And if you still don't believe it, here is what Chromium devs said themselves, when they backtracked that decision. So which version of Chromium are you running again? Note: Just because it is dropped in Chromium doesn't mean it is dropped from Chrome too. Who knows.
For a more interesting point of view, go and read Firefox bug report here. Apparently someone wanted it done on Firefox too because "Chromium did it too". Interesting world we live in.
---
But wait, that's not all. Even wget and curl can be configured to do this (just add --xattr switch): so if you use any downloader program that uses either of these two, they can end up storing the xattrs too depending on how that downloader program is configured.
So what's the source of the these xattrs?
The only person who can answer the question is you.
Which program did you use to download these ISOs?
Configure that program, to disable storing these extended attributes.
---
In either case, for already-downloaded files, you can easily remove the xattrs. From Rox, right-click, choose "Extended Attributes" and then the box comes up, click "Remove". Easy. No problem at all.
I hope this clarifies the answer not only to you but to everyone else who wonders what this stuff is all about.
Final note: You probably don't see this elsewhere in Puppy because some kernels are compiled without xattr support. Ours are, and has been, for a very long time. Why? Because we need it, and we use it for serious stuff.
-
- Posts: 3843
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1633 times
- Been thanked: 526 times
Re: Unexplained emblems on some of Fatdog ISOs
NO, NO, NO!
I believe! I dont want to overlook something potentially damaging that may be missed. I believe each of you!
Thanks to everyone for your assistance and the understanding that has surfaced.
BTW: True!
Thanks, again to everyone for exposure.
I believe! I dont want to overlook something potentially damaging that may be missed. I believe each of you!
Thanks to everyone for your assistance and the understanding that has surfaced.
BTW: True!
Not seen in others.You probably don't see this elsewhere in Puppy...
Thanks, again to everyone for exposure.