Change attribute (partially not possible)

There are many attributes that can be set/deleted.

Recently, attributes have been appearing from time to time that cannot be changed.
usually an “o” (offline!) or “p” on local storage medium

Depending on how the settings are set, the attribute disappears when
copy to local storage medium

when copying to vm or nas, the attributes are automatically deleted
even if the setting has been switched on.

My question.
The attributes mentioned can be searched for in the search setting.
They are not available when set.



You can use SetAttr PIN and SetAttr DEHYDRATE to control a file's cloud state (i.e. the O/P attributes).

The folders/files are located locally on an m.2 storage medium

These have no connection to One Drive (program is uninstalled)
or other cloud provider.

Deleting the attributes could only be done via Powershell.
The command for this is “attrib -P /D /S”

The cause seems to be a *.7z archive, if you unpack it with installed Winrar 7.11 via the context menu.

WinRAR shouldn't be setting those attributes, and the 7z format shouldn't really preserve them in the first place IMO (and Windows shouldn't allow them to be set in that way, but does for some reason).

We fixed the same problem with 7z archives in Opus a few years ago by filtering what the archive reports as the attributes to only allow attributes that make sense. WinRAR probably needs the same fix to avoid causing the same problem when extracting such archives.