From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 11:00:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375F61065677 for ; Thu, 22 Mar 2012 11:00:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id EB8738FC15 for ; Thu, 22 Mar 2012 11:00:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-185-71.dynamic.qsc.de [92.195.185.71]) by mx01.qsc.de (Postfix) with ESMTP id 4736D3CE56; Thu, 22 Mar 2012 12:00:34 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q2MB0XWf015295; Thu, 22 Mar 2012 12:00:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Mar 2012 12:00:33 +0100 From: Polytropon To: Xavier FreeBSD questions Message-Id: <20120322120033.f23bc3bc.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: about change file mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 11:00:41 -0000 On Thu, 22 Mar 2012 11:44:18 +0100, Xavier FreeBSD questions wrote: > Hi tot all, > > Why don't change the files mode ? > > casa# mount -t msdosfs /dev/da0s1 /mnt/JetFlash\ Transcend\ 1GB/ The answer is right in your first command: You're using a MSDOS file system. That particular file system doesn't know about rwx attributes. That's why files have +x by default. You can not remove the x attribute from them because they actually don't have one. However, you can mask that "false-positive" attribute by using the -m option. See "man mount_msdosfs" for details. You can also use it in your /etc/fstab's options field to make it a default. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...