A few weeks ago, I installed Linux Mint on a USB flash drive. I used it to copy the contents of my HFS+ external hard drive to my Windows drive on my desktop. Then, I formatted the external drive to install linux on it, as well as create a large HFS+ partition. I copied the contents back from the windows drive to the new HFS+ partition on the external drive. Now, half of the files' permissions are acting weird. For example, on the drive, /Files is drwxrwxrwx, and if I copy something that's -rw-r--r--@ from my Desktop on my Mac laptop into /Files on my external drive, it remains -rw-r--r--@, but I can't rename, modify, or delete it. Why might this be? I do not have admin/root access on my mac, but I do on my Linux install. I've run chmod -R 777 on the entire drive on my linux install, and I can modify these files there, but the permissions still act weird when it's on my Mac. Is this because there are different users and groups on my Mac?
Permissions corrupted?
linux;filesystems;permissions;osx
On a mode line, '@' usually means extra attributes, and '+' means extra permissions. OS X uses both of these extensively, whereas Linux tends not to (especially for permissions).On OS X, you can view these using ls -le@, where -l is long output, -e shows access control, and -@ shows extra flags (some of which may prevent modification to a file even if its permissions allow it).On Linux, you can view attributes with lsattr or lsattr -l (long output, more human-friendly). Then you can change them, if needed, using chattr. In particular, you may be interested in the i (immutable) attribute, which prevents modifications to files.You can deal with Linux ACLs using the getfacl and setfacl commands, but you may have to install those tools, and your filesystem may not support them anyway.