KFileItem: refresh() shouldn't discard ACL attributes
KFileItem: refresh() shouldn't discard ACL attributes
Following the code:
- changing the ACL permissions of a file via KPropertiesDialog
- when the dialog is closed the dirlister which is installed on the view (in e.g. Dolphin or the open file dialog) is notified that the item has changed
- KCoreDirLister would then call item.refresh(), if the old item had the ACL field(s) set, and they would be gone after calling refresh()
BUG: 299155 FIXED-IN: 5.87
Copy some ACL-related code from file_unix to a common helper header
So that the same code can be used by file_unix and kfileitem.
Copyright headers are based on: unmaintained/kdelibs@bed29fc8
NO_CHANGELOG