Date: Thu, 22 Mar 2012 12:00:33 +0100 From: Polytropon <freebsd@edvax.de> To: Xavier FreeBSD questions <xavierfreebsdquestions@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: about change file mode Message-ID: <20120322120033.f23bc3bc.freebsd@edvax.de> In-Reply-To: <CALe6D=vKfPoJ3B9KdRd3aRtgcnNfL3Y=J1%2BvwyAZ0wM0k92urA@mail.gmail.com> References: <CALe6D=vKfPoJ3B9KdRd3aRtgcnNfL3Y=J1%2BvwyAZ0wM0k92urA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120322120033.f23bc3bc.freebsd>