From owner-freebsd-questions Wed Apr 24 14:21:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA26543 for questions-outgoing; Wed, 24 Apr 1996 14:21:54 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA26526 for ; Wed, 24 Apr 1996 14:21:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with SMTP id WAA04142 ; Wed, 24 Apr 1996 22:20:43 +0100 (BST) To: Jim Dennis cc: Nitemaster , questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: chmod In-reply-to: Your message of "Tue, 23 Apr 1996 17:25:59 PDT." <199604240025.RAA00909@mistery.mcafee.com> Date: Wed, 24 Apr 1996 22:20:43 +0100 Message-ID: <4140.830380843@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jim Dennis wrote in message ID <199604240025.RAA00909@mistery.mcafee.com>: > > > > What numbers should I use for this - chmod o+w filename? > o+w *adds* the write permission -- chmod with a > numeric *sets* the permission. Thus (given): > -r--r--r-- 1 jimd users 1024 Apr 9 14:29 foo > The command 'chmod o+x foo' would result in: > -rw-r--r-- 1 jimd users 1024 Apr 9 14:29 foo That should be: -rw-r--r-x 1 jimd users 1024 Apr 9 14:29 foo surely? Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.