Re: Lesson learned / file permissions
From: Olle Eriksson (pt00oer_at_student.bth.se)
Date: 10/20/04
- Previous message: Olle Eriksson: "Re: Lesson learned / file permissions"
- In reply to: Andreas Janssen: "Re: Lesson learned / file permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Wed, 20 Oct 2004 15:19:22 +0200
On Wednesday 20 October 2004 13.27, Andreas Janssen wrote:
> Olle Eriksson (<pt00oer@student.bth.se>) wrote:
> > $ sudo chmod o-rwx /home/username/*
> > $ sudo chmod o-rwx /home/username/.*
>
> All files in your /home should be yours, so it should be sufficient to
> run chmod as a user. BTW, you are lucky you didn't run the second chmod
> with the -R option, like I did a while ago. .* also includes ..
Oh but actually I did. :) I just found out. Luckily the other directories
in /home are not critical and rather small, so it was no big problem to
fix them.
> Aha. So there are files in your home folder, that you need, and that
> are owned by root? Why? I guess the problem is that they belonged to
> root. With the restrictive permissions, you could not access them. The
> change I would make is not to make them world-readable. Instead use
> chown to change the owner from root to olle.
I found out why. See my other post.
Thanks
Olle
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Olle Eriksson: "Re: Lesson learned / file permissions"
- In reply to: Andreas Janssen: "Re: Lesson learned / file permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|