mate-desktop/caja

LM22 Mate: Copy Tbird Profile from USB Drive to Desktop throws WEIRD PERMISSION error?

Opened this issue · 1 comments

Situation: Testing new Linux Mint 22 Mate LiveMedia USB ROM system
Thunderbird Profiles are on R/W USB Flash Drive: Gparted: File System "ext2", no flags
Trying to copy previous working Profile to Desktop to test LM22 Tbird compatibility

Expected behaviour

Copy existing Tbird Profile folder from Flash Drive to Desktop. This has worked on LM 18.1, 20.2, and 21.2. It is NOT dependent on the version of the profile.
Click on folder > select Properties > Permissions: Expect Owner "Mint", "Mint" group. These are the permissions for this R/W drive/files when checked in LM20.2 Mate and LM21.2 Mate

Actual behaviour

Caja GUI: Click on folder > select "Copy" from menu > immediate ERROR popup (screen dump attached: ERROR.png)

ERROR

Error while copying. The folder [any profile sub-folder] cannot be handled because you do not have permissions to read it.

Click on folder > Properties > Permissions: Owner: dnsmasq (WHAT?) Group: systemd-journal (WHAT?)
Screen Dump attached: PERMISSIONS.png

PERMISSIONS

This is TOTALLY ERRONEOUS compared to any previous work I have done ... and I have done a lot with MANY different versions of LM Mate and Thunderbird.

  • ED NOTE: The drive is evidently not changed by this operation and subsequently works normally in my LM 20.2 Mate system.

Steps to reproduce the behaviour

Wow ... copy a Thunderbird profile onto an ext2 formatted USB thumb drive under an earlier version of LM - I am using LM 21p2 Mate currently.
Boot LM 22 (my system is LiveMedia ROM), insert the email thumb drive, and open a caja window of the top folder and try to copy the profile folder to the desktop.
That is what I did and it is a SOLID ERROR.

MATE general version

Package version

Linux Distribution

System:
Host: mint Kernel: 6.8.0-38-generic arch: x86_64 bits: 64
Desktop: MATE v: 1.26.2 Distro: Linux Mint 22 Wilma

Link to bugreport of your Distribution (requirement)

New release - I only found bugreport pages for CINNAMON and LM22 BETA.
https://projects.linuxmint.com/reporting-an-issue.html
https://forums.linuxmint.com/viewtopic.php?t=424954

Art in Carlisle PA USA (a.k.a. Webtest)

I only use webmail so can't really test this, but looks like it got copied to the USB drive with the wrong ownership. Try chown 'ing the file on the flash drive (you may need to use sudo) to your username, setting permissions 664, and then copying it to the desktop.

You are getting "dnsmasq" as the owner, and "systemd-journal" as group as stated. Assuming other files on the drive have the expected ownership and permissions, this had to happen when the files were copied to the flash drive, or perhaps something corrupted the metadata. In the latter case the data itself also becomes suspect. I have no idea what would cause the former case. If in the older distro Thunderbird ran with that ownership and group that would be very odd indeed.

Try fixing the ownership and permissions, copying, and then checking over the data itself for any problems. If this file is OK in the old system, make sure you are not coming up with "dnsmasq" as the owner, and "systemd-journal" as group for the entire session in that install.

It is unlikely any MATE package in either the old or new distro had anything to do with this, I'd have to check but I really doubt caja's original authors (Eazel when writing Nautilus in the GNOME 2 era) would have reimplemented system calls for opening files and such. If these permissions and ownership show up only on that one distro version, the problem is probably on their end or even the kernel they used.

We certainly have not done anything in Caja that would change this behavior as long as I have been with MATE