From owner-freebsd-questions Sun Apr 18 16:34:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id 929BB151E5 for ; Sun, 18 Apr 1999 16:34:50 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 10Z12z-000Ier-0B for questions@freebsd.org; Sun, 18 Apr 1999 23:32:22 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id AAA00303 for ; Mon, 19 Apr 1999 00:31:56 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id AAA01350 for questions@freebsd.org; Mon, 19 Apr 1999 00:28:10 +0100 (BST) (envelope-from marko) Date: Mon, 19 Apr 1999 00:28:10 +0100 From: Mark Ovens To: questions@freebsd.org Subject: chown/chmod doesn't work on FAT slices Message-ID: <19990419002810.D965@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chown(1) and chmod(1) don't appear to work on FAT slices. I've just discovered that all the files (and directories) on my FAT slice are owned by root/wheel and have 755 permissions. Trying to chown(1) the files gives: marder-1# ls -l index.html -rwxr-xr-x 1 root wheel 9204 Mar 7 10:06 index.html marder-1# chown marko index.html chown: index.html: Invalid argument marder-1# !ls -rwxr-xr-x 1 root wheel 9204 Mar 7 10:06 index.html marder-1# and chmod(1) fails silently: marder-1# ls -l index.html -rwxr-xr-x 1 root wheel 9204 Mar 7 10:06 index.html marder-1# chmod 777 index.html marder-1# !ls ls -l index.html -rwxr-xr-x 1 root wheel 9204 Mar 7 10:06 index.html marder-1# The slice is mounted r/w and I've successfully copied files to it (as root). I'm certain I didn't have this problem under 2.2.8. I've read the mount_msdos(8) manpage and know about the -u, -g -m options, but it is mounted automatically at boot (the options are ``rw'' in the /etc/fstab entry and were the same in 2.2.8). What's gone wrong? -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message