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.

63 questions
19
votes
4 answers

How can I list the Active Directory user attributes from a linux computer?

How can I list the Active directory user attributes from a Linux computer? The Linux computer is already joined to the domain. I can use 'getent' to get the user and group information, but it does not display the complete active directory user…
Vishnu
  • 701
  • 2
  • 8
  • 13
10
votes
1 answer

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess anything up when I make changes to it. I…
Alan
  • 541
  • 1
  • 6
  • 20
10
votes
1 answer

Linux ext4 "extents" attribute

I noticed the e attribute on several files/directories on Linux machines installed on ext4 filesystems. [kelly@p2820887.pubip.serverbeach.com ~]$ lsattr -d /bin -------------e- /bin According to chattr(1): The ’e’ attribute indicates that the file…
tylerl
  • 14,885
  • 7
  • 49
  • 71
8
votes
2 answers

View/Find all compressed files on the server?

I need to find all compressed files/folders regardless of file format on a Windows Server 2003 machine. Search options do not provide this capability. Is there a way to list/view all compressed files? Perhaps, this can be done by PowerShell using…
8
votes
5 answers

Practical uses of the immutable flag in Linux

Does anyone have real world scenarios where they've used the immutable flag in Linux? chattr +i file.txt Since root can unset the attribute, it seems like you're protecting the file against users who have root access but aren't aware of the…
kernelpanic
  • 1,246
  • 1
  • 10
  • 30
7
votes
5 answers

Is there a tool that lets an end user manage attributes in Active Directory?

There are attributes in Active Directory such as manager and telephone numbers which can get out of date quickly. Is there an open source or inexpensive tool that can help with management of these fields? I'm looking for something that a…
Brian Lyttle
  • 1,747
  • 1
  • 17
  • 17
6
votes
3 answers

AD plugin or utility that generates unique uidnumber / gidnumber on creation

I'm looking for either: A plugin that will auto-generate a unique uidNumber attribute value for new users and a unique gidNumber attribute value for new groups upon creation. A configurable user/group management application that can generate the…
jasonpvp
  • 61
  • 1
  • 2
5
votes
3 answers

In Chef, how do I access attributes set in the environment JSON from cookbook attributes files?

I have a chef system where we have multiple environments and have attributes set in evironment JSON. I'm having trouble accessing these from within cookbook attribute files and recipes.
paul bruno
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

Permission denied when changing timestamp of a directory on a CIFS mount

The server dir is mounted with a user, who definitely has "Write Attributes" permissions in Windows. /etc/fstab: //server/shared /mnt/fs1 cifs…
4
votes
1 answer

Change AD users attributes via Power Shell script

In the domain I'm working we created an attribute "regulationMatrix" . When I try a powershell command like get-aduser USER -properties * that specific attribute shows up only if it has a value set like "regulationMatrix : {PIC}",…
4
votes
2 answers

How to allow some (non-admin) users to edit address/phone properties for all AD users?

I need to allow HR people to edit some attributes for all Active Directory users (phone numbers, address, and similar contact informations), without giving them full administrative rights. They will need the right to edit those attributes on all…
Massimo
  • 68,714
  • 56
  • 196
  • 319
3
votes
2 answers

Custom attributes in Active Directory - determining usage/function and possible removal options?

I've bumped into a highly-customized Active Directory environment (2003 FL) that's got me wondering if there's any particularly easy way to figure out what a custom attribute's function is, and what, if anything, is "using" that particular…
HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
3
votes
2 answers

How do I figure out what is changing the userWorkstations attribute in Active Directory?

I just took over the IT for a medium sized business with a three domain controllers (2003/2008 Standard) and whenever I create a new user, after some time the user account cannot log into most machines on the network. I have traced this back to the…
Martin
  • 131
  • 4
3
votes
5 answers

Fastest way to search for file attributes on windows?

I have many files, 2TB be exact, and must find/search for files by creator and creation date and others file attributes. What in your opinion would be the best way to do these kinds of searches? Application/Powershell? Code fragment? Any…
2
votes
1 answer

Why doesn't btrfs send | btrfs receive preserve the "no dump" file attribute?

Btrfs supports the "no dump" file attribute and it is preserved when taking snapshots. But after sending such a snapshot to another Btrfs using btrfs send and btrfs receive, all values of the "no dump" attribute are lost. By contrast the "compress…
Dzamo Norton
  • 123
  • 5
1
2 3 4 5