From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 25 Jun 2001 17:43:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 25 Jun 2001 17:43:38 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:51719 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 25 Jun 2001 17:43:18 -0400 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: EXT2 Filesystem permissions (bug)? Date: 25 Jun 2001 14:42:50 -0700 Organization: Transmeta Corporation, Santa Clara CA Message-ID: <9h8b8q$s95$1@cesium.transmeta.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2001 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Followup to: By author: Shawn Starr In newsgroup: linux.dev.kernel > > Is this a bug or something thats undocumented somewhere? > > d--------T > and > drwSrwSrwT > > are these special bits? I'm not aware of +S and +T > It's neither a bug nor undocumented. "info ls" would have told you the following: The permissions listed are similar to symbolic mode specifications (*note Symbolic Modes::.). But `ls' combines multiple bits into the third character of each set of permissions as follows: `s' If the setuid or setgid bit and the corresponding executable bit are both set. `S' If the setuid or setgid bit is set but the corresponding executable bit is not set. `t' If the sticky bit and the other-executable bit are both set. `T' If the sticky bit is set but the other-executable bit is not set. `x' If the executable bit is set and none of the above apply. `-' Otherwise. -hpa -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt