Tagged Questions

On OSX you can have tags which allows you to identify different categories of files. Here are two text files with different tags when viewed in Finder:
I have a large number of these files and have ...

I have a ext4 drive that is mounted using defaults mount options. It is a RedHat Enterprise Linux version 6.5, 64 bits. I can call lsattr on any file on that server.
I need to share that drive with 3 ...

Is it possible to change the location for .Xauthority, to something other than $HOME/.Xauthority ? AFAIU, this file is being created every time I log into LXDE, by my login manager slim.
The problem ...

Let's say I want to set one or more attributes (in the chattr sense) on every file created in a given directory.
Is there a way to achieve this automatically, like umask does for file permissions ?
...

I would like to be able to compress certain files (that I need to keep, but use rarely) on disk. I noticed that chattr +c flags a file for compression, but it doesn't seem to actually compress files.
...

I am logged into my remote VM (running out of ESXi) as user xyz. I wanted to change my /etc/hosts to add some network names that were not visible by default.
I first tried to run
sudo vi /etc/hosts
...

I'm trying to secure my authorized_keys file to prevent it from being modified. I run this:
[root@localhost]# chattr +i authorized_keys
chattr: Inappropriate ioctl for device while reading flags on ...

I've compiled a kernel to use richacls, and compiled the richacl's utility, (but not the e2fsprogs). I've mounted a loop file with richacl flags
/root/fs_prueba_10mb on /media/ext4_con_richacl type ...

My (limited) understanding of basic Unix is that any files that are created will be created based on the permissions of the creating user. In particular, the group assigned will be the creating user's ...

I downloaded a .pem file and my Mac OS X (10.8.2) added an @ sign at the end of the file permissions. This is causing file permission issues. I can't seem to remove the quarantine flag. I even tried ...

I have a HostGator dedicated server running CentOS. I have a folder on one user's account where I want all users to be able to have read access, so we keep it chmod'd to 755. HG has a script that runs ...

I know you can set or unset the hidden flag of a folder/file by doing chflags hidden foo.txt and chflags nohidden foo.txt.
But is there anyway of telling whether the folder/file is currently hidden ...

I have a small question about extended file attributes. Assume I label my files with metadata in extended attributes (e.g. to account for the integrity - but this does not matter for my question). The ...

Is there any chattr flag that would allow me to lock a file's unix permissons, and not change them without resetting the flag? The file itself should still be modifiable, I just want to prevent ... ...