Re: What does this T bit mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can only reply on the linux-specific part as I am no gluster expert :)

On Wed, Feb 12, 2014 at 5:27 PM, Khoi Mai <KHOIMAI@xxxxxx> wrote:
> In my 4 node gluster.  I was hunting down a split-brain report.  2 of my 4
> bricks shows this as a bit attribute
>
> ---------T 2 48791 50011        0 Feb 12 07:41 TFE Metrics.xlsx

the 'T' means that the sticky bit of the file permission is set and no
executable bit is set (otherwise it would be "t" instead of "T")

The sticky bit in Linux only makes sense for directories: a file
contained in a directory with the sticky bit set can only be removed
by its owner (or root). It is usually set in temporary directories
like /tmp or /var/tmp

For files I don't know if it has an actual meaning, but it's never used AFAIK.

The ocotal permission of this file is "01000", and since it doesn't
usually make much sense to have a file with *only* the sticky bit set,
I would guess that something bad happened during the creation of the
file, but I can't guess what. Is the brick ok?

.a.

-- 
antonio.s.messina@xxxxxxxxx
antonio.messina@xxxxxx                     +41 (0)44 635 42 22
GC3: Grid Computing Competence Center      http://www.gc3.uzh.ch/
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich Switzerland
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux