Questions tagged [extended-attributes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
25 views

How to disable com.apple.quarantine on Catalina

I am constantly downloading files from our servers and they get marked with the com.apple.quarantine attribute. How can I forever (and ever, until the universe collapses) prevent the OS from setting ...
2
votes
2answers
24 views

How To Strip All Finder Attributes for Some Device

After copying files to an NTFS and FAT Extended devices, I ended up with numerous misplaced finder attributes, due to the broken NTFS and FAT support in OSX's Finder. I.e. I get these can't be changed ...
5
votes
2answers
206 views

Disable the use of the “com.apple.quarantine” extended attribute on Mojave

I recently got Mojave. Could somebody tell me whether it's possible to disable the use of the "com.apple.quarantine" extended attribute, for all apps that I have now or will ever download in the ...
3
votes
1answer
109 views

Safari 13 update sets negative com.apple.quarantine -1 making multiple directories inaccessible

Updated to Safari 13 today on Mojave 10.14.6 and suddenly a bunch of my ~/Library/ directories are inaccessible via terminal and other apps (even with sudo). Checking the xattr I see: com.apple....
1
vote
1answer
45 views

How to zip a script-file for MacOS under Windows and give it correct attributes?

I am working under Windows 10 and am putting together a few data-files and a simple bash-script that I want to share with Mac-Users. (I am just learning MacOS, so may have drawn wrong conclusions ...
0
votes
3answers
102 views

How do I copy user home directories from one system to another while preserving all attributes?

I am in the process of dismantling an old macOS High Sierra Server and rebuilding it as a macOS Mojave Server. I've exported Users and Groups from OpenDirectory on the old one and imported them in ...
2
votes
1answer
344 views

In Finder and Terminal — can not delete a folder, (Error = “Directory not empty”)

Anytime I've run up against this in the past, I was always able to figure it out, and usually via the command line. I'll list all the commands I tried so far, followed by other things I've tried below ...
2
votes
1answer
49 views

How to convert a file with extended attributes to AppleDouble format?

How can I convert a file, which has extended attributes, to AppleDouble format? I know how to convert from AppleDouble format using the Terminal utility dot_clean, but what utility can be used to ...
5
votes
1answer
2k views

Extended attributes reappear when reconnecting external drive

Some files on my external drive appeared grey out. Hence, I removed all the extended attributes using xattr -rc command which successfully does the trick and all my files appears normal. However, ...
2
votes
0answers
37 views

How to ensure that you retrieve all permission attributes (including ACLs) of a file or folder from the shell?

I would like to retrieve ALL permissions (including ACLs) and attributes of files and folders (both) from a folder and its accompanying files on a drive. Most frequently one sees ls -le being used to ...
1
vote
2answers
1k views

How can I give a file the com.apple.quarantine attribute on mac

I have used xattr -d com.apple.quarantine /Users/username/Desktop/app_name.app to remove the attribute but I don't know how to give the attribute again. Could you please help me?
6
votes
1answer
378 views

Is there a way to get Spotlight to search for xattr?

I like to tag files with xattr, e.g. xattr -w user.foo bar myfile. Is there a way that I can then use Spotlight to search for a given xattr key (or key-value pair)? For example, if I put foo or foo:...
3
votes
2answers
990 views

How to verify if an extended attribute exist?

When running xattr -d com.apple.quarantine /Applications/XXX.app sometimes I get xattr: /Applications/XXX.app: No such xattr: com.apple.quarantine How does one verify if any named attribute ...
2
votes
2answers
91 views

Unable to enter directories in Finder after moving directories to NAS

I have a NAS, which I use for storing my old photos. When moving the remainder of my 2016 photos, the following problem occurred, but without any error message during the move operation. The move ...
3
votes
0answers
50 views

Is there version control software with commit messages that preserves macOS tags?

As I mentioned in my answer on tags best practices, the distributed version control software (VCS) Git does not preserve macOS tags (or other extended file attributes). Is there version control ...
1
vote
1answer
349 views

Error messages in rsync

When I run rsync -avz --exclude-from=exc ~/ /Volumes/Backup/home/ I get the message sending incremental file list ./ .DS_Store ...<snip>... (lots of files).... End of list of files sent 72,...
1
vote
1answer
120 views

Quarantined root directory on primary drive?

I've been experiencing performance issues on my mid-2011 mac mini (running El Cap) for a while now -- beachballs, spotlight issues, general slowness -- and have been so far unable to discern the ...
0
votes
0answers
67 views

Difference in OS X file names due to extended attribute or resource fork?

I've done a diff on two file names (via Terminal), whose textual content on visual inspection appear to be the same file. diff however reports the two as differing. The only difference I could ...
6
votes
1answer
6k views

How to set (restore) the com.apple.quarantine attribute?

There are questions with good answers that explain how to remove the com.apple.quarantine extended attribute but I was wondering how does one restore / set it back again? I tried this: xattr -w com....
0
votes
1answer
573 views

What does these extended attributes mean and where are they documented?

For some reason a directory I had (Vundle.vim) got randomly copied to another directory (got copied from ~/.vim to ~/dotfiles/.vim with strange permissions and what looks like no contents. Anyways, ...
0
votes
1answer
341 views

Recursive set creation date of pictures and videos based on filename

I have a folder structure of thousands of pictures and videos. They are all exported and therefore have the same creation date, time. I would like to set the creation date for all the files according ...
0
votes
1answer
866 views

OSXFUSE, BindFS and HFS+ extended file attributes

I use BindFS with OSXFUSE to mount some folders on an external drive on mount points within my user home folder. This is a sample line from my fstab: /Volumes/Content/Pictures /Users/Me/...
1
vote
1answer
731 views

Will HFS+ extended attributes be lost on FreeNAS?

I have FreeNAS server partially set up on an HP Microserver, but just realized that I may lose all my extended attribute metadata on the files that come from my Macs (which is what most of my ...
0
votes
1answer
84 views

Extracting WhereFroms Data to a File

I see a number of posts on how to delete the WhereFrom extended attributes data, but I would like to do the opposite and extract the information into a file. I download Creative Commons photos from ...
6
votes
1answer
6k views

Files Greyed out in Finder - Potential extended attributes issue?

I am having a rather strange issue with some image files I have on a local file server. I have spent a while trying to figure it out, to no avail. Hopefully someone on here can offer some assistance. ...
0
votes
1answer
330 views

Why files created by Kaleidoscope App are in quarantine?

I like to use Kaleidoscope (v 2.1.0 - build 133.01 under Mac OS X 10.8.5) to compare 2 directories. But, when I create files by copying them from a directory to another using ...
10
votes
2answers
1k views

Confusion on Metadata | Named Forks | Extended Attributes | Resource Fork — HFS+

I think there is some general confusion on the relation between all four of these items scattered throughout the web. I wanted to get this straightened out. Are named forks the same as extended ...