From owner-freebsd-questions Sat Jan 19 12:17:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cletus.cornhusker.net (cletus.cornhusker.net [64.21.192.68]) by hub.freebsd.org (Postfix) with ESMTP id 635A637B400 for <questions@FreeBSD.ORG>; Sat, 19 Jan 2002 12:17:10 -0800 (PST) Received: from cletus.cornhusker.net (cletus.cornhusker.net [208.47.246.65]) by cletus.cornhusker.net (8.11.3/8.11.1) with ESMTP id g0JFFwG12633; Sat, 19 Jan 2002 15:15:58 GMT (envelope-from deboert@cletus.cornhusker.net) Date: Sat, 19 Jan 2002 15:15:57 +0000 (GMT) From: Tim DeBoer <deboert@cletus.cornhusker.net> To: Ryan Thompson <ryan@sasknow.com> Cc: questions@FreeBSD.ORG Subject: Re: User permissions problem In-Reply-To: <20020118162301.J99262-100000@catalyst.sasknow.net> Message-ID: <Pine.BSF.4.21.0201191509360.12531-100000@cletus.cornhusker.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-questions.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions> X-Loop: FreeBSD.ORG Thanks for the suggestion Ryan, I should have included a bit more info to my original mail, my bad, sorry. As usual, I was frustrated and didn't stop to relax before posting. Note to self: Count to 10, count to 10, drink beer, post. Anyway. ls -ld /home/user drwxr-xr-x 22 user user 1536 Jan 19 12:59 /home/user Exactly what it should be. Owned by user as well. That's why this is driving me insane ;) I just don't see anything wrong with the perms that already exist. I only get the permissions error when I'm running KDE, and saving something from a web link via Konquerer. If I'm in the console, or in an xterm and ftp something in, it works fine. -- 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." On Fri, 18 Jan 2002, Ryan Thompson wrote: > 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 <ryan@sasknow.com> > 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