xattr Questions
1
Following the code from another answer, I want to read and write Finder comments to files. Those seem to be stored as binary plists so they have to be parsed beforehand. To read a Finder comment:
l...
5
I have an NFS_Server - NFS_Client system.
My client is mounted to an NFS_Server directory.
I want to change the attribute of NFS_Server directory's files via NFS_Client mounted directory by using E...
4
Solved
I found some Linux files, and when I type ls -lah, it outputs this permissions format:
...
drwxr-xr-x. 2 root root
...
-rw-rw-r--. 1 root root
...
I would like to know, what is the mean...
Strickman asked 2/6, 2015 at 11:30
2
I am trying to perform a little testing of XATTRs. I recompiled my kernel with ALL the XATTRs enabled.
Now, when I include the header of xattrs :
#include <attr/xattr.h>
I receive an erro...
1
Solved
The other day I was messing with some files that had the extended attribute com.apple.quarantine on them. I am aware of its purpose, but I have always been curious what the properties below meant w...
0
We were working on an IDE for a long time and it has com.apple.security.app-sandbox mode. User can download requisite SDK from internet (out of the box) and use in our IDE for development. Prior to...
Monadelphous asked 8/8, 2016 at 5:27
2
Solved
When I type ls -l in the command line, sometimes an @ or + symbol comes up alongside the file permissions(btw, I am on OS X), as shown below:
-rw-r-----@ 1 john staff 6731 Sep 28 01:10 mutations.t...
Antilogism asked 25/3, 2016 at 22:46
0
I'm trying to use terminal and the xattr to modify an extended metadata entry.
It looks simple, but I don't have any success.
Currently I tried something like below:
xattr -w com.apple.metadata:k...
3
Solved
Preface
I am working on a platform in-depended media database written in java where the media files are identified by a file hash. The user shall be able to move the files around, so I do NOT want ...
1
Solved
There is a lot of information on StackOverflow and elsewhere about how to clear the Mac quarantine property.
In my case I would like to set it.
This is in order to test that my app is properly sign...
1
Solved
This is a simple question but I've done some research and can't find any answers... So does anyone know if when we define extended attributes through xattr, those attributes are stored within - as ...
Bandung asked 16/12, 2013 at 18:48
1
Solved
While reorganizing my images, in anticipation of OSX Mavericks I am writing a script to insert tags into the xattr fields of my image files, so I can search them with Spotlight. (I am also editing ...
Dylan asked 2/8, 2013 at 5:2
1
© 2022 - 2024 — McMap. All rights reserved.