Questions tagged [attributes]

Extended attributes (commonly called "xattrs") are a way to associate metadata with files/directories in the filesystem.

Extended file attributes can be used to store information such as MIME type, checksums, cryptographic keys/certificates, etc; attributes are not interpreted by the filesystem (unlike the normal file attributes). They require operating system and filesystem support; not all operating systems and/or filesystems support them.

For more about extended file attributes, see the Wikipedia article.

64 questions
0
votes
1 answer

How to add logic to a new customized attribute in AD schema

I need to create new attribute named: LastLoggedWorkstation This attribute should contain the name of the last machine\IP from which the user logged on. I know how to add new attribute to AD schema (here) but I don't know how to add logic. When a…
E235
  • 111
  • 3
0
votes
2 answers

Linux, search for extended attribute value

When a directory contains some files with non-empty extended attributes, all the attribute values can be shown as follows: $ getfattr -d * # file: file1 user.comment="comment1" # file: file2 user.comment="comment2" This should work for all the…
BowPark
  • 103
  • 1
  • 4
0
votes
0 answers

Cannot set ACL permission at Samba share

I have setup samba share at xfs file system. Samba 4.2 runs at CentOS 7. Setting POSIX ACLs and extended attributes works as expected (setfacl -m user:joe:rw example.txt, setfattr -n user.example -v foo example.txt) at Linux. The samba sharing is…
JiriHnidek
  • 101
  • 4
0
votes
0 answers

Needed permissions to read msDS-ReplLinkFailures attribute

I'm using powershell to get the value of msDS-ReplLinkFailures attribute like this: Get-ADRootDSE -Properties msDS-ReplLinkFailures This works ok if the current user is member of domain's Administrators group. When I run the above example using non…
iPath
  • 622
  • 4
  • 11
0
votes
1 answer

Get all files/directories created before a certain date?

We have a samba share on an Ubuntu box that an office full of macs use. Something has happened recently and various folders now seem to have a created date of 1984 and are greyed out/inaccessible for Mac users, whereas Windows users can view these…
jblz
  • 215
  • 1
  • 3
  • 11
0
votes
2 answers

Powershell .lnk deployment/syncing - lnk description attribute

I have been working on a powershell sync script that will be used to control what users have on their desktop (mainly lnk/shortcut files). I have it currently setup to do basic comparisons to add/remove/update the files that are stored locally. The…
Doltknuckle
  • 1,254
  • 7
  • 25
  • 32
0
votes
1 answer

is it possible to search only a files that have specific extended attributes set?

is it possible to search file in the linux OS that have particular extended attribute as this: ---S--l--- ---S--l--- 1 root root 0 Mar 1004:25/opt/csTuner/iba/wys/tuer_lolk What is S in the permissions: S - the changes are written…
maihabunash
  • 443
  • 1
  • 11
  • 25
0
votes
1 answer

Is there a way to update attributes files directly in chef server without uploading cookbook again

I am using hosted chef environment in windows.I need to update the attribute file during each chef client run. Currently ,I update it manually and upload the cookbook in chef server.Is there any way in which I can directly edit the attribute file in…
Nina
  • 1
  • 1
0
votes
1 answer

Any debugfs command to set file capability?

I need an executable inside an ext2 loop filesystem to have the CAP_NET_ADMIN (cap_net_admin) file capability set. If it is possible with debugfs, what exactly would be the commands I would type in? If not possible with debugfs, is there another…
D S
  • 1
0
votes
1 answer

SharePoint and use of AD's wWWHomePage attribute

While looking at the wWWHomePage attribute in Active Directory, a web search found some questions on lousier Q&A sites, that indicate that SharePoint will populate the wWWHomePage attribute on a user in AD with their SharePoint site. The specific…
geoffc
  • 2,165
  • 5
  • 25
  • 40
0
votes
1 answer

Defining date attributes in openldap

There doesn't appear to be a standard date syntax. How do people handle entering dates into ldap so that they are comparable and invalid data can't be entered? I'm hoping to enforce a fairly standard format such as YYYY-mm-dd. Other people have…
Brad Mace
  • 1,024
  • 3
  • 17
  • 32
0
votes
1 answer

SharePoint: users cannot see document create or last modified dates

As the SharePointServices admin user for my organization, I can see all the attributes created and last modified date on documents. However, all non-admin users cannot see them. For example, all they see is Created at 04/09/2010 09:24 by (blank). …
marcwenger
  • 235
  • 1
  • 6
  • 21
0
votes
1 answer

How Object-GUID replicated

since Object-GUID is a non replicated attribute, then how All DCs have same object-GUID for an object? how object-GUID is replicated to all DC
0
votes
2 answers

Windows Certificate Authority - Adding Additional Attributes

In AD Certificate Templates the templates have an option to build from AD information and includes Email, DNS, UPN, etc. When creating a CSR using powershell, openssl and the certificate mmc snap-in I know its possible to add additional attributes…
0
votes
1 answer

Active Directory Attributes and Dynamic Distribution groups

Wondering if someone can help with my scenario. When I right click my user account in AD and go to Attribute Editor, we have a attribute called roomNumber which is a Unicode string. In the field my building location is filled in (Red…