From owner-freebsd-questions Fri Jan 18 14:26:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from catalyst.sasknow.net (catalyst.sasknow.net [207.195.92.130]) by hub.freebsd.org (Postfix) with ESMTP id 5BE3A37B404 for ; Fri, 18 Jan 2002 14:26:10 -0800 (PST) Received: from localhost (ryan@localhost) by catalyst.sasknow.net (8.11.6/8.11.6) with ESMTP id g0IMQpf99669; Fri, 18 Jan 2002 16:26:51 -0600 (CST) (envelope-from ryan@sasknow.com) X-Authentication-Warning: catalyst.sasknow.net: ryan owned process doing -bs Date: Fri, 18 Jan 2002 16:26:51 -0600 (CST) From: Ryan Thompson X-X-Sender: ryan@catalyst.sasknow.net To: Tim DeBoer Cc: questions@FreeBSD.ORG Subject: Re: User permissions problem In-Reply-To: Message-ID: <20020118162301.J99262-100000@catalyst.sasknow.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim DeBoer wrote to questions@FreeBSD.ORG: > Hi folks, > I've got a permissions problem that's driving me insane. Basically, > everytime I download something as a user, I get an error message > saying "could not change permissions for /home/user/foo.bar" Well, the obvious question would be, what is the output of ls -ld /home/user For "user" to create and modify files, they should really have ownership of the directory, and the permissions should probably be set to -rwxr-xr-x to allow others to read and search the directory (chmod 0755), or -rwx------, to allow only "user" (and root) to access the directory (chmod 0700). If user doesn't own the directory, chown user /home/user ought to do the trick. Useful documentation: man chown man chmod man group > It Happens as both as my primary user, and as my "test" account, but > not as root, since root is root I guess. Most (not all) operations as root ignore ownership, and file and directory permissions, so root can do just about anything. > Anyway, how do I fix this? > > Thanks! > -- > > Tim DeBoer > http://www.freebsd-geek.com > > "When you find yourself in the company of a Halfling and an ill-tempered > Dragon, remember, you do not have to outrun the Dragon... > ...you just have to outrun the Halfling." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message