Re: Classic Gnubie accident SOLVED
Thanks Jochen, I think your mail made several reasonable points and contrary to what you say, I find it perfectly coherent. Its a tricky position to be in flailing around in a panic trying to fix a system you need to be able to work and seeing the time, or possibility of things being put back together receding from your expectations. You are right that I did not identify the problem very well initially, but part of this was down to receiving an error that shut me out of the normal environment from which I would diagnose things. Since the error message referred to a .dmrc file I assumed this was the problem until I could get further in . I did read the Debian documentation on file permissions, before I made requests to the list, whilst I can't say that I fully understood the system of permissions I read enough to get the basic idea and also to understand that my problem was not addressed there. I think, and this can probably not be considered a flaw, the debian manual does not address the issue of how to reset the permissions of a /home after it has been recursively modified. As I'm sure anybody will tell me, reading the manual is the antidote to making such a stupid mistake, nonetheless stupid mistakes we do make. I'm sorry if I appeared to be complaining, actually I was genuinely amused by the situation, I was sitting fretting, tearing out my hair whilst ppl in the same space were discussing their girlfriends, this struck me as pretty funny and allowed me to take the situation a little lighter. I don't think that as a Debian-user I have a 'right' to assistance and choosing to use etch I was deliberately putting myself where I would have to rely on my own defective wits and those of others whom I could persuade to help me, or who I could hope would help since, maybe I had helped them in the past. In any case I started the mail in a provocative way as I estimated this might be a good way to get the advice I was after, I certainly don't have a problem with people taking over a thread, so sometimes one has to shout if one wants to be heard. So, I appreciate you taking the time to respond at length and especially as you actually addressed my question in a way that I can understand and perhaps even use to fix my problem. 'what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different?' Generally, nothing in your $HOME should be world-readable and some files/directories even aren't allowed to be group-readable. And almost nothing (except files in ~/bin/) has to be executable. Normally you do not have to touch file permissions for automatically created files at all. And thanks to everybody else who chipped in too All the best Anthony On 10/31/06, Jochen Schulz [EMAIL PROTECTED] wrote: [Disclaimer: writing this mail took some time and I frequently jumped from topic to topic. Please excuse me if it doesn't appear to be very coherent.] anthony: So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, I recognize you are frustrated and I am trying not to be rude, but please understand a few things (which I suspect you got wrong, but maybe the error is on my side. Additionally, I am not a native English speaker, so don't mince my words): - You do not own this thread. People are welcome to change the topic whenever they want. (Provided it is partly on-topic or at least doesn't annoy too many other people. Changing the subject would still be nice, though.) - You do not have a right to have your questions answered. If you have a problem, many people are eager to help you. But consider that helping you costs *our* time as well (which we could use to talk to our girlfriends/wives). Actually, I started to contribute two (on-topic) mails to this thread that never hit the list, because I didn't finish them. The reason? I had the impression that it is really hard to get the necessary information from you. Your problem description was not very helpful and you didn't send the information I explicitly asked for (~/.xsession-errors). Additionally, I felt that you take no interest in understanding your problem, you only waited for a magic command to fix your problem (like that 'chmod -R 755' thing, which you really shouldn't have done -- see below). This may not be true, but it was my impression and trying to help you was too frustrating to do it in my spare time. I know you are a newbie and as I said, many people are willing to help you (myself included, or else I wouldn't have written this lengthy mail). But you have to make it easier for us to help you. A few tips to achieve this (not everything is applicable to your problem, only what I have in mind as being helpful): - If your problem applies to a specific piece of software, read its documentation (manpages and
Re: Classic Gnubie accident SOLVED
On Thu, Nov 02, 2006 at 11:57:00AM +, anthony wrote: Thanks Jochen, I think your mail made several reasonable points and contrary to what you say, I find it perfectly coherent. Its a tricky position to be in flailing around in a panic trying to fix a system you need to be able to work and seeing the time, or possibility of things being put back together receding from your expectations. You are right that I did not identify the problem very well initially, but part of this was down to receiving an error that shut me out of the normal environment from which I would diagnose things. Since the error message referred to a .dmrc file I assumed this was the problem until I could get further in . I did read the Debian documentation on file permissions, before I made requests to the list, whilst I can't say that I fully understood the system of permissions I read enough to get the basic idea and also to understand that my problem was not addressed there. I think, and this can probably not be considered a flaw, the debian manual does not address the issue of how to reset the permissions of a /home after it has been recursively modified. As I'm sure anybody will tell me, reading the manual is the antidote to making such a stupid mistake, nonetheless stupid mistakes we do make. Hi Anthony, changing permissions of files like you did with a recursive command is an accident that anyone can make. There are some general rules to reset directories as per the FHS or LSB and there are permissions set on files in .deb packages for files that are unpacked as well as 'statoverride' file to setup special files. But there is not an easy way to know what permission a files should have beyond having a backup of either the entire files itself or of just the permissions of the files. You can change the permission of any random file but apply a general rule to reset permissions will not take that into account. I had an accident where I deleted /bin by mistake. There is not a rule book on how to get the files back or on how to make them the correct version wrt your os or how to make the os reinstall the correct version. This is the same thing with file permissions. You simply repair the damage as best as you can and fix error as they come up, if you dont have a backup that would reasonably fix the problem, assuming you are not on a deadline. I guess the rule is think twice, type once :-) not that it always helps. Cheers, Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System| go to counter.li.org and | | `-http://www.debian.org/ |be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org | signature.asc Description: Digital signature
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 03:20:49PM +0100, Florian Kulzer wrote: From: Florian Kulzer [EMAIL PROTECTED] I was also confused by this sub-thread, so I tried to research the girlfriend issue: $ apt-cache search girlfriend psad - The Port Scan Attack Detector $ apt-cache show psad | grep -i girlfriend * various backdoor programs (e.g. EvilFTP, GirlFriend, SubSeven) My preliminary conclusion is that with a girlfriend you are essentially pwned. apt-cache search boyfriend *nothing* Is apt-cache sexist ? -- GĂ©rard
Re: Classic Gnubie accident
Ron Johnson: On 10/30/06 03:04, Jochen Schulz wrote: It's not that I don't know how to start X from a console. But I (almost) always need X anyway. And apart from that, I have a non-geek girlfriend[1] using my computer from time to time. My wife was *easily* trained not to fear the black text screen, and I put startx in her .bashrc (with a little wrapper so that it would only run from the console, not an xterm window). Certainly your GF can be similarly trained. Well, at least not by me. I still have a hard time teaching her about the concept of files and folders. :) And what I actually find more important is that she grasps GUI concepts she will need in her work life. J. -- I worry about people thinking I have lost direction. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/06 05:08, Jochen Schulz wrote: Ron Johnson: On 10/30/06 03:04, Jochen Schulz wrote: It's not that I don't know how to start X from a console. But I (almost) always need X anyway. And apart from that, I have a non-geek girlfriend[1] using my computer from time to time. My wife was *easily* trained not to fear the black text screen, and I put startx in her .bashrc (with a little wrapper so that it would only run from the console, not an xterm window). Certainly your GF can be similarly trained. Well, at least not by me. I still have a hard time teaching her about the concept of files and folders. :) And what I actually find more important is that she grasps GUI concepts she will need in her work life. Get a new GF? - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFR0n2S9HxQb37XmcRArlEAJ9Ssde6lLPewGIih+UrZ+qn2Qc18QCgrgRO Np4ut/6JeUW37QIc8rdv3+0= =NzcG -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Ron Johnson writes: My wife was *easily* trained not to fear the black text screen... Heh. Mine hates GUIs. It was only a few years ago that I dragged her away from Mailx and got her to start using Mutt. She uses Firefox for the Web but complains about it. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Ron Johnson: On 10/31/06 05:08, Jochen Schulz wrote: Ron Johnson: Certainly your GF can be similarly trained. Well, at least not by me. I still have a hard time teaching her about the concept of files and folders. :) And what I actually find more important is that she grasps GUI concepts she will need in her work life. Get a new GF? I don't think that's a good idea. I'd rather have a GF who silently tolerates my geek behaviour than a GF who starts flamewars on vi vs. emacs and the like. J. -- If all my friends had Playstations I would buy a Nintendo to prove my individuality. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/06 08:31, Jochen Schulz wrote: Ron Johnson: On 10/31/06 05:08, Jochen Schulz wrote: Ron Johnson: Certainly your GF can be similarly trained. Well, at least not by me. I still have a hard time teaching her about the concept of files and folders. :) And what I actually find more important is that she grasps GUI concepts she will need in her work life. Get a new GF? I don't think that's a good idea. I'd rather have a GF who silently tolerates my geek behaviour than a GF who starts flamewars on vi vs. emacs and the like. Those aren't the only two choices. Many non-geeks understand folders and can use serial terminals. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFR2MqS9HxQb37XmcRApt4AKDKqyEnYxJ2uKiA4zK7633KTmK7NgCeKPIB vA+NO8Qm/6Or1KE5iGM4VJU= =8tyJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/06 07:35, John Hasler wrote: Ron Johnson writes: My wife was *easily* trained not to fear the black text screen... Heh. Mine hates GUIs. It was only a few years ago that I dragged her away from Mailx and got her to start using Mutt. She must be in her 50s. She uses Firefox for the Web but complains about it. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFR1q0S9HxQb37XmcRAv0HAKCFRFPEC951UxLZ3ZiFbOGVUj8iaQCg2ICJ qjC/HBL0OJnOpr2oFwmE5GY= =EeYz -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, so I took the easy route, made another user, transferred the settings and files over from /home/anthony . Now I can startx and even check my mail! However, I'd like to know what exactly happened and perhaps to get my user (anthony) and my settings back iat some point so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different? A On 10/31/06, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/06 08:31, Jochen Schulz wrote: Ron Johnson: On 10/31/06 05:08, Jochen Schulz wrote: Ron Johnson: Certainly your GF can be similarly trained. Well, at least not by me. I still have a hard time teaching her about the concept of files and folders. :) And what I actually find more important is that she grasps GUI concepts she will need in her work life. Get a new GF? I don't think that's a good idea. I'd rather have a GF who silently tolerates my geek behaviour than a GF who starts flamewars on vi vs. emacs and the like. Those aren't the only two choices. Many non-geeks understand folders and can use serial terminals. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFR2MqS9HxQb37XmcRApt4AKDKqyEnYxJ2uKiA4zK7633KTmK7NgCeKPIB vA+NO8Qm/6Or1KE5iGM4VJU= =8tyJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
anthony wrote: So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, so I took the easy route, made another user, transferred the settings and files over from /home/anthony . Now I can startx and even check my mail! However, I'd like to know what exactly happened and perhaps to get my user (anthony) and my settings back iat some point so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different? I probably missed it, but I never saw your output of ls -lh /home and ls -lah /home/anthony, which might have helped clue along an answer. I doubt anyone can tell you what exactly happened without knowing what exactly happened leading up to the problem; I suspect you'll just have to live with the mystery. Yes, the settings for your files will each be different. For example: # ls -lah /home/chyntt total 304K drwxrwsr-x 46 chyntt chyntt 4.0K 2005-11-17 15:38 . drwxrwsr-x 7 root root 4.0K 2005-10-14 11:25 .. drwx--S--- 2 chyntt chyntt 4.0K 2005-10-17 10:29 .AbiSuite drwx--S--- 2 root chyntt 4.0K 2005-10-26 10:51 .aptitude -rw--- 1 chyntt chyntt 6.9K 2005-10-28 11:56 .bash_history -rw-r--r-- 1 chyntt chyntt 570 2005-07-19 15:36 .bash_profile -rw-r--r-- 1 chyntt chyntt 1.3K 2005-07-19 15:36 .bashrc drwx-- 4 chyntt chyntt 4.0K 2005-10-27 10:00 Desktop -rw--- 1 chyntt chyntt 22 2005-10-18 14:01 .dmrc drwxr-sr-x 7 chyntt chyntt 4.0K 2005-10-18 14:44 .evolution -rw-r--r-- 1 root chyntt0 2005-10-25 15:53 .fonts.cache-1 -rw-r--r-- 1 chyntt chyntt 307 2005-10-14 13:56 .fonts.conf drwxr-xr-x 3 chyntt chyntt 4.0K 2005-10-14 11:37 .gaim drwx--S--- 4 chyntt chyntt 4.0K 2005-10-27 10:00 .gconf drwx--S--- 2 chyntt chyntt 4.0K 2005-10-27 10:01 .gconfd drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-18 14:00 .gnome drwx--S--- 9 chyntt chyntt 4.0K 2005-10-20 17:22 .gnome2 drwx-- 2 chyntt chyntt 4.0K 2005-10-14 13:51 .gnome2_private drwxr-xr-x 3 chyntt chyntt 4.0K 2005-10-14 11:38 .gnucash drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-14 11:38 .gnupg drwxr-xr-x 4 chyntt chyntt 4.0K 2005-10-14 11:36 GNUstep drwxr-sr-x 5 chyntt chyntt 4.0K 2005-10-18 09:51 .gqview drwxr-xr-x 5 chyntt chyntt 4.0K 2005-10-14 11:35 .gramps drwxr-sr-x 2 chyntt chyntt 4.0K 2005-10-18 14:00 .gstreamer-0.8 -rw-r--r-- 1 chyntt chyntt 88 2005-10-18 14:00 .gtkrc-1.2-gnome2 -rw--- 1 chyntt chyntt0 2005-10-27 10:01 .ICEauthority drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-14 11:39 .icewm drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-24 16:11 .java drwxr-xr-x 4 chyntt chyntt 4.0K 2005-10-14 11:40 .jpilot drwx--S--- 4 chyntt chyntt 4.0K 2005-10-26 10:44 .kde drwx--S--- 4 chyntt chyntt 4.0K 2005-10-14 13:49 .kde.bak -rw--- 1 chyntt chyntt 451 2005-10-26 10:44 .kderc -rw-r--r-- 1 chyntt chyntt 57 2005-10-26 10:41 .lesshst drwx--S--- 3 chyntt chyntt 4.0K 2005-10-27 10:00 .local drwx-- 2 chyntt chyntt 4.0K 2005-10-05 08:58 Mail drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-14 11:40 .Mail -rw-r--r-- 1 chyntt chyntt 3.1K 2005-10-21 10:48 .mailcap drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-26 10:50 .mc drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-14 13:49 .mcop -rw--- 1 chyntt chyntt 31 2005-10-05 13:34 .mcoprc drwx--S--- 3 chyntt chyntt 4.0K 2005-10-18 14:00 .metacity drwx--S--- 3 chyntt chyntt 4.0K 2005-10-25 12:11 .mozilla drwx--S--- 4 chyntt chyntt 4.0K 2005-10-20 13:08 .mozilla.25Oct2005 drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-14 14:20 .mozilla-thunderbird -rw--- 1 chyntt chyntt 1.3K 2005-10-19 17:25 .mutt_certificates drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-18 14:00 .nautilus drwxr-sr-x 2 chyntt chyntt 4.0K 2005-10-19 11:35 .nedit drwxr-sr-x 3 chyntt chyntt 4.0K 2005-10-17 10:29 .openoffice drwx--S--- 3 chyntt chyntt 4.0K 2005-10-25 16:24 .openoffice.org2 drwx--S--- 3 chyntt chyntt 4.0K 2005-10-26 09:40 .OracleCalendar drwxr-sr-x 2 chyntt chyntt 4.0K 2005-10-27 10:00 .qt -rw--- 1 chyntt chyntt 35K 2005-10-22 01:46 .realplayerrc -rw--- 1 chyntt chyntt 4.8K 2005-10-25 16:24 .recently-used drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-14 11:45 .secret -rw-r--r-- 1 chyntt chyntt 37 2005-10-21 11:14 .secretDONTread drwx-- 2 chyntt chyntt 4.0K 2005-10-14 11:45 .ssh -rw-r--r-- 1 chyntt chyntt 71 2005-10-17 10:29 .sversionrc drwxr-sr-x 5 chyntt chyntt 4.0K 2005-10-17 09:36 .sword drwx--S--- 3 chyntt chyntt 4.0K 2005-10-17 13:07 .thumbnails -rw--- 1 chyntt chyntt 5.0K 2005-10-21 11:32 .viminfo drwxr-xr-x 4 chyntt chyntt 4.0K 2005-10-14 11:50 .wine -rw--- 1 chyntt chyntt 49 2005-10-27 10:01 .Xauthority drwxr-xr-x 2 chyntt chyntt 4.0K 2005-10-27 10:01 .xine -rw-r--r-- 1 chyntt chyntt 17 2005-10-27 10:00 .xinitrc drwxr-xr-x 4 chyntt chyntt 4.0K 2005-10-14 11:56 .xmms -rw--- 1 chyntt chyntt 235 2005-10-26 11:40 .xsession-errors drwxr-xr-x
Re: Classic Gnubie accident
Kent West wrote: anthony wrote: I'd like to know what exactly happened and perhaps to get my user (anthony) and my settings back iat some point so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different? To get your user back, just backup the original /home/anthony directory, then deluser anthony followed by adduser anthony. You'll probably also want to addgroup anthony audio cdrom, etc to add the user anthony to the groups audio, cdrom, etc, as necessary to give that user sound capability, CD-mounting capability, etc. -- Kent West http://kentwest.blogspot.com http://kentwest.blogspot.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
anthony [EMAIL PROTECTED] wrote: So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, so I took the easy route, made another user, transferred the settings and files over from /home/anthony . Now I can startx and even check my mail! However, I'd like to know what exactly happened and perhaps to get my user (anthony) and my settings back iat some point so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different? Many seem to be -rw-r--r-- (644) but there are exceptions -rw--- (600) .dmrc I would suggest you set all to 644 and then try each program to see if it works. If it doesn't then start digging through the man. For example .mailfilter (for maildrop) has to be 600. HTH, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
[Disclaimer: writing this mail took some time and I frequently jumped from topic to topic. Please excuse me if it doesn't appear to be very coherent.] anthony: So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, I recognize you are frustrated and I am trying not to be rude, but please understand a few things (which I suspect you got wrong, but maybe the error is on my side. Additionally, I am not a native English speaker, so don't mince my words): - You do not own this thread. People are welcome to change the topic whenever they want. (Provided it is partly on-topic or at least doesn't annoy too many other people. Changing the subject would still be nice, though.) - You do not have a right to have your questions answered. If you have a problem, many people are eager to help you. But consider that helping you costs *our* time as well (which we could use to talk to our girlfriends/wives). Actually, I started to contribute two (on-topic) mails to this thread that never hit the list, because I didn't finish them. The reason? I had the impression that it is really hard to get the necessary information from you. Your problem description was not very helpful and you didn't send the information I explicitly asked for (~/.xsession-errors). Additionally, I felt that you take no interest in understanding your problem, you only waited for a magic command to fix your problem (like that 'chmod -R 755' thing, which you really shouldn't have done -- see below). This may not be true, but it was my impression and trying to help you was too frustrating to do it in my spare time. I know you are a newbie and as I said, many people are willing to help you (myself included, or else I wouldn't have written this lengthy mail). But you have to make it easier for us to help you. A few tips to achieve this (not everything is applicable to your problem, only what I have in mind as being helpful): - If your problem applies to a specific piece of software, read its documentation (manpages and /usr/share/doc/$packagename). If you can, search the web for other documentation. Some programs do not contain their documentation in the same package as the program itself. In these cases there is very often another package with a name like $program-doc which you can install. - Give a short introduction to your problem. That way people can quickly tell whether they may be able to help. If you took a look in the documentation but found your question/problem not to be covered, mention it. - Describe exactly what you did or, if you didn't do anything specific, other circumstances you think might play a role. - Describe what effect of your action (or non-action) you expected and what actually happened. Do *not* paraphrase error messages, but cite them exactly. (Exceptions are kernel oopses or panics, which cannot always easily be saved, at least not completely.) - Search the internet for your error messages, if you have any. It is very seldom to be the first one to encounter a specific problem. If you find a solution but get stuck at some point, tell the list about this. That way, we have a good way of finding out how far you got *and* we find out that you do not expect us to solve your problems without trying yourself. - (Minor) Do *not* assume you already know the reason for the problem if you are not absolutely sure. Tell us, *what* you want to achieve, not *how* (or at least, tell both). - When following up on replies to your posting, try to give the information that has been asked for. If you do not know how to do that, ask. - If a step-by-step solution is proposed (run commands x, y and then z), read the corresponding documentation so you understand what you are doing. If it is absolutely incomprehensible and not easily deciphered by reading manpages, ask what each command does. - When asked to read some documentation, read it. If you do not understand all of it, try to ask a question as specific as possible. Sometimes, documentation is not at all helpful to a newbie. That's normal. So if you cannot ask a specific question, try to find other documentation on the topic which is more newbie-friendly. If you don't find anything, ask whether someone can explain it in different words. This should of course not be taken strictly as a checklist, but it may help to get useful answers and narrow down the source of a problem. When trying to describe a problem throughly and with all the necessary information, I sometimes even managed to solve it by myself because writing a good call for help forced me to ask myself the right questions. so I took the easy route, made another user, transferred the settings and files over from /home/anthony . Now I can startx and even check my mail! Nice to hear. I'd like to know what
Re: Classic Gnubie accident
Andrei Popescu wrote: anthony [EMAIL PROTECTED] wrote: So, happy as I am that you guys found an excuse to chat about your respective girlfriends here, I think mine would prefer I talked to her a bit rather than staring at a screen uttering expletives, so I took the easy route, made another user, transferred the settings and files over from /home/anthony . Now I can startx and even check my mail! However, I'd like to know what exactly happened and perhaps to get my user (anthony) and my settings back iat some point so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? Are they each different? Many seem to be -rw-r--r-- (644) but there are exceptions -rw--- (600) .dmrc I would suggest you set all to 644 and then try each program to see if it works. If it doesn't then start digging through the man. For example .mailfilter (for maildrop) has to be 600. Perhaps all that really needs to be done, is to rename .dmrc and let it be recreated automatically. Certainly less apt to create other probloems than the one. Would be worth a try. begin:vcard fn:W Paul Mills n:Mills;W Paul org:The Mills Chaos In The USA adr:;;USA email;internet:[EMAIL PROTECTED] note:Hint: remove -NOT x-mozilla-html:FALSE url:http://Mills-USA.com version:2.1 end:vcard
Re: Classic Gnubie accident
Ron Johnson: On 10/29/06 15:57, Jochen Schulz wrote: Ron Johnson: And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :) startx is your friend. It's not that I don't know how to start X from a console. But I (almost) always need X anyway. And apart from that, I have a non-geek girlfriend[1] using my computer from time to time. But maybe that fact disqualifies me as a Real Geek[tm] a priori. ;-) J. [1] She does Frozen Bubbles in under 45 minutes! -- When you put a gun to my head you aren't fooling anyone. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Classic Gnubie accident
Hi there, I don't have a problem getting at the files, booting single user or into a failsafe terminal as myself (username=anthony) the problem is exactly how to correctly 'check/fix owner/permissions until you are happy.' I just need to know what ownership and permissions my /home/anthony folder should be set to and how to do this safely as root (I cannot access these files as myself (username=anthony). I.e. I need to know the exact commands and how to check afterwards the permissions have been set correctlythanksAnthonyOn 10/30/06, Douglas Tutty [EMAIL PROTECTED] wrote: On Sun, Oct 29, 2006 at 01:40:39PM -0800, Jeff Goodman wrote: anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username/home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated Not sure if booting in single-user mode will give you root permission. If not, boot Knoppix, or some other live distro, mount your Debian partition, and do whatever tweaking is necessary.If booting in single-user mode doesn't work, boot into a shell. I don't know what boot loader you're using but if you haven't pre-configured a boot option that gives you a shell,you need to note the whole kernel boot command line,then reboot but when you get the boot prompt (lilo, grub, whatever),enter your kernel boot command line and add init=/bin/sh (or dash if its installed).At this point nothing is mounted.Check the owner/permissions of the/home mount point and fix as needed.Then go to /etc/rcS.d and manually start each script in the order listedwith (for example on mine): ./S02mountvirtfs startuntil /home is mounted, then you can descend the /home directory andcheck/fix owner/permissions until you are happy.Then you have to manually go through /etc/rc0.d and run the scripts starting with (on mine)./S40umountfs start (because it the first letter is 'S')Then power off and try a single-mode boot.If that works, try a normalboot.Doug.--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/06 03:04, Jochen Schulz wrote: Ron Johnson: On 10/29/06 15:57, Jochen Schulz wrote: Ron Johnson: And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :) startx is your friend. It's not that I don't know how to start X from a console. But I (almost) always need X anyway. And apart from that, I have a non-geek girlfriend[1] using my computer from time to time. My wife was *easily* trained not to fear the black text screen, and I put startx in her .bashrc (with a little wrapper so that it would only run from the console, not an xterm window). Certainly your GF can be similarly trained. But maybe that fact disqualifies me as a Real Geek[tm] a priori. ;-) I'd there's a higher probability of creating new geeks if existing geeks reproduce. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRemnS9HxQb37XmcRAhslAKDVImeGAHPdw2EWHmCus82TmMfrfwCgoXo3 vk7MPzn08I0VeMggNn7YJbQ= =1GRZ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/06 05:14, anthony wrote: Hi there, I don't have a problem getting at the files, booting single user or into a failsafe terminal as myself (username=anthony) the problem is exactly how to correctly 'check/fix owner/permissions until you are happy.' I just need to know what ownership and permissions my /home/anthony folder should be set to and how to do this safely as root (I cannot access these files as myself (username=anthony). I.e. I need to know the exact commands and how to check afterwards the permissions have been set correctly /home/anthony should be owned by anthony:anthony and have 755 permissions. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFReoUS9HxQb37XmcRAvqsAKDV8rIwEMqBUve75B+fvH/vAqZcWACgmEAi P4VjKJa3VTbnivfQzSUTOe8= =CmGo -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
So from failsafe terminal, after login[EMAIL PROTECTED]:/$ cd /home/anthony/bash: cd: /home/anthony/: Permission denied[EMAIL PROTECTED]:/$ pwd/[EMAIL PROTECTED]:/$ iduid=1000(anthony) gid=1000(anthony) groups=20(dialout),24(cdrom),25(floppy),$ [EMAIL PROTECTED]:/$[EMAIL PROTECTED]:/$ ls -l /hometotal 60drw-r--r-- 69 anthony anthony 4096 2006-10-30 11:31 anthonydrwx-- 2 root root 4096 2006-07-18 11:20 dynedrwxr-xr-x 2 guest guest 4096 2006-10-27 02:37 guest drwxr-xr-x 2 root root 49152 2006-03-12 21:46 lost+foundappears that I have lost execute permissions for my /home/anthonysochmod u+x /home/anthonythen[EMAIL PROTECTED]:/$ ls -l /home total 60drwxr--r-- 69 anthony anthony 4096 2006-10-30 11:31 anthonydrwx-- 2 root root 4096 2006-07-18 11:20 dynedrwxr-xr-x 2 guest guest 4096 2006-10-27 02:37 guestdrwxr-xr-x 2 root root 49152 2006-03-12 21:46 lost+found [EMAIL PROTECTED]:/$ cd /home/anthony/[EMAIL PROTECTED]:~$ lsaudio current_writing film mute Polly techbackground Desktop images nicotine Projects_Archive usecom dl music pd reading writing seems ok?[EMAIL PROTECTED]:~$ pwd/home/anthony[EMAIL PROTECTED]:~$ iduid=1000(anthony) gid=1000(anthony) groups=20(dialout),24(cdrom),25(floppy),$Is this all correct?When exit failsafe and try to login as myself (username=anthony) I get a blank blueish screen and eventually get booted back to gdm (if it is gdm that is the problem I am happy to loose this and 'log in like a real geek' but it appears something else is still the matter i.e. something up with all the permissions for /home/anthonyOn 10/30/06, anthony [EMAIL PROTECTED] wrote:Hi there, I don't have a problem getting at the files, booting single user or into a failsafe terminal as myself (username=anthony) the problem is exactly how to correctly 'check/fix owner/permissions until you are happy.' I just need to know what ownership and permissions my /home/anthony folder should be set to and how to do this safely as root (I cannot access these files as myself (username=anthony). I.e. I need to know the exact commands and how to check afterwards the permissions have been set correctlythanksAnthonyOn 10/30/06, Douglas Tutty [EMAIL PROTECTED] wrote: On Sun, Oct 29, 2006 at 01:40:39PM -0800, Jeff Goodman wrote: anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username/home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated Not sure if booting in single-user mode will give you root permission. If not, boot Knoppix, or some other live distro, mount your Debian partition, and do whatever tweaking is necessary.If booting in single-user mode doesn't work, boot into a shell. I don't know what boot loader you're using but if you haven't pre-configured a boot option that gives you a shell,you need to note the whole kernel boot command line,then reboot but when you get the boot prompt (lilo, grub, whatever),enter your kernel boot command line and add init=/bin/sh (or dash if its installed).At this point nothing is mounted.Check the owner/permissions of the/home mount point and fix as needed.Then go to /etc/rcS.d and manually start each script in the order listedwith (for example on mine): ./S02mountvirtfs startuntil /home is mounted, then you can descend the /home directory andcheck/fix owner/permissions until you are happy.Then you have to manually go through /etc/rc0.d and run the scripts starting with (on mine)./S40umountfs start (because it the first letter is 'S')Then power off and try a single-mode boot.If that works, try a normalboot.Doug.--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/06 06:04, anthony wrote: So from failsafe terminal, after login [EMAIL PROTECTED]:/$ cd /home/anthony/ bash: cd: /home/anthony/: Permission denied [EMAIL PROTECTED]:/$ pwd / [EMAIL PROTECTED]:/$ id uid=1000(anthony) gid=1000(anthony) groups=20(dialout),24(cdrom),25(floppy),$ [EMAIL PROTECTED]:/$ [EMAIL PROTECTED]:/$ ls -l /home total 60 drw-r--r-- 69 anthony anthony 4096 2006-10-30 11:31 anthony drwx-- 2 rootroot 4096 2006-07-18 11:20 dyne drwxr-xr-x 2 guest guest4096 2006-10-27 02:37 guest drwxr-xr-x 2 rootroot49152 2006-03-12 21:46 lost+found appears that I have lost execute permissions for my /home/anthony so chmod u+x /home/anthony then [EMAIL PROTECTED]:/$ ls -l /home total 60 drwxr--r-- 69 anthony anthony 4096 2006-10-30 11:31 anthony drwx-- 2 rootroot 4096 2006-07-18 11:20 dyne drwxr-xr-x 2 guest guest4096 2006-10-27 02:37 guest drwxr-xr-x 2 rootroot49152 2006-03-12 21:46 lost+found [EMAIL PROTECTED]:/$ cd /home/anthony/ [EMAIL PROTECTED]:~$ ls audio current_writing filmmute Polly tech background Desktop images nicotine Projects_Archive use com dl music pdreading writing seems ok? Not really. I would *definitely* also add g+x on anthony, and possibly a+x. Like I said in my previous email, the directory should have 755. 744 is *not* 755. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRe01S9HxQb37XmcRAnBXAJ9JryyJB9+8YXnEsESSTFzFrReZYACghDEk wKJr8hq3CTV1GThkNaRatc8= =phyK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
anthony: I don't have a problem getting at the files, booting single user or into a failsafe terminal as myself (username=anthony) the problem is exactly how to correctly 'check/fix owner/permissions until you are happy.' You only need chown, chmod and ls. # chown -R anthony:anthony /home/anthony # chmod 755 /home/anthony After that, 'ls -ld /home/anthony' should look like this (except for the date shown): drwxr-xr-x 66 anthony anthony 8.0K 2006-10-30 11:22 /home/anthony/ If you do not understand what the commands above do, I propose you read something like this: http://www.debian.org/doc/manuals/reference/ch-tutorial.en.html#s-file-perm The Debian Reference Manual is also available via apt (package name: debian-reference). J. -- I wish I could do more to put the sparkle back into my marriage. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Classic Gnubie accident
how to set these permissions?On 10/30/06, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1On 10/30/06 06:04, anthony wrote: So from failsafe terminal, after login [EMAIL PROTECTED]:/$ cd /home/anthony/ bash: cd: /home/anthony/: Permission denied [EMAIL PROTECTED]:/$ pwd / [EMAIL PROTECTED]:/$ id uid=1000(anthony) gid=1000(anthony) groups=20(dialout),24(cdrom),25(floppy),$ [EMAIL PROTECTED]:/$ [EMAIL PROTECTED]:/$ ls -l /home total 60 drw-r--r-- 69 anthony anthony4096 2006-10-30 11:31 anthony drwx--2 rootroot 4096 2006-07-18 11:20 dyne drwxr-xr-x2 guest guest4096 2006-10-27 02:37 guest drwxr-xr-x2 rootroot49152 2006-03-12 21:46 lost+found appears that I have lost execute permissions for my /home/anthony so chmod u+x /home/anthony then [EMAIL PROTECTED]:/$ ls -l /home total 60 drwxr--r-- 69 anthony anthony4096 2006-10-30 11:31 anthony drwx--2 rootroot 4096 2006-07-18 11:20 dyne drwxr-xr-x2 guest guest4096 2006-10-27 02:37 guest drwxr-xr-x2 rootroot49152 2006-03-12 21:46 lost+found [EMAIL PROTECTED]:/$ cd /home/anthony/ [EMAIL PROTECTED]:~$ ls audio current_writingfilmmutePolly tech backgroundDesktopimagesnicotineProjects_Archiveuse com dl music pdreading writing seems ok?Not really.I would *definitely* also add g+x on anthony, and possibly a+x.Like I said in my previous email, the directory should have 755.744 is *not* 755.- --Ron Johnson, Jr.Jefferson LAUSAIs common sense really valid?For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skinsare mud people.However, that common sense is obviously wrong.-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRe01S9HxQb37XmcRAnBXAJ9JryyJB9+8YXnEsESSTFzFrReZYACghDEkwKJr8hq3CTV1GThkNaRatc8==phyK-END PGP SIGNATURE---To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Thank youOn 10/30/06, Jochen Schulz [EMAIL PROTECTED] wrote: anthony: I don't have a problem getting at the files, booting single user or into a failsafe terminal as myself (username=anthony) the problem is exactly how to correctly 'check/fix owner/permissions until you are happy.' You only need chown, chmod and ls.# chown -R anthony:anthony /home/anthony# chmod 755 /home/anthonyAfter that, 'ls -ld /home/anthony' should look like this (except for thedate shown): drwxr-xr-x 66 anthony anthony 8.0K 2006-10-30 11:22 /home/anthony/If you do not understand what the commands above do, I propose you readsomething like this: http://www.debian.org/doc/manuals/reference/ch-tutorial.en.html#s-file-permThe Debian Reference Manual is also available via apt (package name:debian-reference).J.--I wish I could do more to put the sparkle back into my marriage. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.5 (GNU/Linux)iD8DBQFFRe2v+AfZydWK2zkRAi70AJ433uZ1b2JmCcXbKhPdEgsHzxEk8gCdHxH3GCUhjXQ0hAOc17sewN/8y2U==eP9z-END PGP SIGNATURE-
Re: Classic Gnubie accident
Ron Johnson wrote: I'd there's a higher probability of creating new geeks if existing geeks reproduce. What is this reproduce of which you speak? Is that a new utility similar to cp? -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 07:36:41 -0600, Kent West wrote: Ron Johnson wrote: I'd there's a higher probability of creating new geeks if existing geeks reproduce. What is this reproduce of which you speak? Is that a new utility similar to cp? I was also confused by this sub-thread, so I tried to research the girlfriend issue: $ apt-cache search girlfriend psad - The Port Scan Attack Detector $ apt-cache show psad | grep -i girlfriend * various backdoor programs (e.g. EvilFTP, GirlFriend, SubSeven) My preliminary conclusion is that with a girlfriend you are essentially pwned. -- Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 07:36:41AM -0600, Kent West wrote: Ron Johnson wrote: I'd there's a higher probability of creating new geeks if existing geeks reproduce. What is this reproduce of which you speak? Is that a new utility similar to cp? More like fork. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
yep, this was the sensible thing to do, but probably got lost in the noiseDon't say! Log in as root. Then:# cd /home# chmod 755 anthony# exitLog in again, now as anthony.thinking:/home/anthony# chown -R anthony:anthony /home/anthonythinking:/home/anthony# chmod 755 /home/anthony thinking:/home/anthony# ls -ld /home/anthonydrwxr-xr-x 69 anthony anthony 4096 2006-10-30 14:35 /home/anthonyseems okbut when I log in X doesn't seem to run and I go back to the login manager so I get rid of the login manager gdm but this still doesnt allow me to startxone other clue is that I cannot save text files logged in as anthony (i get a no space left on device error) but I can as root in the same directory This was recommended few days agoby Ron Johnson.Zoran --To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/06 15:57, Jochen Schulz wrote: Ron Johnson: On 10/29/06 15:21, anthony wrote: [snip] And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :) startx is your friend. And miss all the random eye-candy of gdm? But I do bootup so rare lately that I don't see it anyway (last reboot was due to a dist-upgrade). Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
anthony wrote: one other clue is that I cannot save text files logged in as anthony (i get a no space left on device error) but I can as root in the same directory Ah, then perhaps you're out of drive space on that partition. (*nix leaves a small buffer available for root to write to, which normal users can't use). What's the result of df -h? -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 10:52:43AM -0600, Kent West wrote: anthony wrote: one other clue is that I cannot save text files logged in as anthony (i get a no space left on device error) but I can as root in the same directory Ah, then perhaps you're out of drive space on that partition. (*nix leaves a small buffer available for root to write to, which normal users can't use). Or maybe you have a disk quota and it has run out. What's the result of df -h? -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
What's the result of df -h? I'm using 94% of the disk. I have deleted some stuff. I triedchmod -R 775 /home/anthonyand this allowed me to access files in my directory and some of my personal settings e.g. pal (calendar) I could start X but not fluxbox. What should the permissions be for all the settings (invisible) files in my home directory? I have set up another user so I don't have to keep booting between partitions to use the net, but this user is somewhat disabled too e.g. no audio other strange symptoms are that in a terminal as root after having logged in as the new user I cannot use cp ?? thinking:/home/anthony/film# cp /home/anthony/.bbkeysrc /home/thinker/bash: cp: command not found looks like I need a big clean up, probably re-install etch eventually, however I'd like to get my user (anthony) and my settings back in the meantime. so, what should the permissions be for all the settings (invisible) files in my home directory /anthony/home ? On 10/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:On Mon, Oct 30, 2006 at 10:52:43AM -0600, Kent West wrote: anthony wrote: one other clue is that I cannot save text files logged in as anthony (i get a no space left on device error) but I can as root in the same directory Ah, then perhaps you're out of drive space on that partition. (*nix leaves a small buffer available for root to write to, which normal users can't use).Or maybe you have a disk quota and it has run out. What's the result ofdf -h? -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]--To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 09:27:40AM -0500, Douglas Tutty wrote: On Mon, Oct 30, 2006 at 07:36:41AM -0600, Kent West wrote: Ron Johnson wrote: I'd there's a higher probability of creating new geeks if existing geeks reproduce. What is this reproduce of which you speak? Is that a new utility similar to cp? More like fork. With the result being child processes! -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System| go to counter.li.org and | | `-http://www.debian.org/ |be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org | signature.asc Description: Digital signature
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/06 15:21, anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated This is (one reason) why I don't like GUI login managers. If you have a boot CD, fire it up and go from there. And then purge xdm, gdm, kdm and log in like a Real Geek. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRR9OS9HxQb37XmcRAhrVAKC58eFSl5wiNtri8TEUamZXoCj3dACeOeYp jPGU7UI+cH9+Ep2Xr5d9obM= =LAG+ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Ron Johnson: On 10/29/06 15:21, anthony wrote: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. Look into ~/.xsession-errors, maybe there's more info. And BTW, my ~/.dmrc is 600: -rw--- 1 jrschulz jrschulz 37 2006-08-09 10:46 .dmrc Antoher possiblity: delete the file and log in again (after choosing the session you like). I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Strange. It should get written by a root process (your login manager), but be owned by you. Any help much appreciated This is (one reason) why I don't like GUI login managers. If you have a boot CD, fire it up and go from there. There's no need for that. You can still Alt-Fn to a regular console and use that. And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :) J. -- All participation is a myth. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Classic Gnubie accident
anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated Not sure if booting in single-user mode will give you root permission. If not, boot Knoppix, or some other live distro, mount your Debian partition, and do whatever tweaking is necessary. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/06 15:57, Jochen Schulz wrote: Ron Johnson: On 10/29/06 15:21, anthony wrote: [snip] And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :) startx is your friend. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRSUTS9HxQb37XmcRArfYAKDX9cUuDaiG9eg7hWA77fIwbXuQ7gCdFBaC GcE0fv4dFs+fu0qBKSfPRCs= =jiJ6 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
I can get root access thru the failsafe terminal mode, but I still don't really get what is up. if I changed the permissions as myself, why cannot reset them as myself or as root?I don't have a cd drive, but I can boot from usb. So far it sounds like the easiest thing is to make another user cp all the files I want and delete myselfbut I figure there must be a shorter way aroundOn 10/29/06, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1On 10/29/06 15:57, Jochen Schulz wrote: Ron Johnson: On 10/29/06 15:21, anthony wrote:[snip] And then purge xdm, gdm, kdm and log in like a Real Geek. Real geeks may still have their terminals running under X. :)startx is your friend.- --Ron Johnson, Jr.Jefferson LAUSAIs common sense really valid?For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skinsare mud people.However, that common sense is obviously wrong.-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRSUTS9HxQb37XmcRArfYAKDX9cUuDaiG9eg7hWA77fIwbXuQ7gCdFBaCGcE0fv4dFs+fu0qBKSfPRCs==jiJ6-END PGP SIGNATURE---To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Sun, Oct 29, 2006 at 09:21:19PM +, anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - why is your home directory not '/home/anthony'? permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated exactly what did you do that lead to this? Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System| go to counter.li.org and | | `-http://www.debian.org/ |be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org | signature.asc Description: Digital signature
Re: Classic Gnubie accident
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/06 16:22, anthony wrote: I can get root access thru the failsafe terminal mode, but I still don't really get what is up. if I changed the permissions as myself, why cannot reset them as myself or as root? What exactly did you chown and/or chmod on? /home should be owned by root:root and be 755. /home/anthony should similarly be anthony:anthony 755. - -- Ron Johnson, Jr. Jefferson LA USA Is common sense really valid? For example, it is common sense to white-power racists that whites are superior to blacks, and that those with brown skins are mud people. However, that common sense is obviously wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRS84S9HxQb37XmcRAql8AJsEEt9pM0DDL4ee3cywgHj/7hdLYwCgpxt8 HlTbaCYWodkqDCkFUSp6U3s= =9mr8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Sun, Oct 29, 2006 at 05:51:43PM -0500, Kevin Mark wrote: On Sun, Oct 29, 2006 at 09:21:19PM +, anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - Message is about wrong permissions on file, .dmrc On your system this should owner anthony:anthony and permissions 600. Message is telling you that it is something else, which for reasons I don't know is rejected by ?dm. -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Hello The result (as root) of ls -aFI / ./ ../ bin/ boot/ cdrom@ dev/ dyne/ etc/ .fonts.cache-1 home/ initrd/ initrd.img@ lib/ lib64/ lost+found/ media/ mnt/ nano.save opt/ proc/ root/ root.choice/ sbin/ srv/ sys/ tmp/ usr/ var/ vmlinuz@ of -aFI /home ./ ../ bin/ boot/ cdrom@ dev/ dyne/ etc/ .fonts.cache-1 home/ initrd/ initrd.img@ lib/ lib64/ lost+found/ media/ mnt/ nano.save nano.save.1 opt/ proc/ root/ root.choice/ sbin/ srv/ sys/ tmp/ usr/ var/ vmlinuz@I'm not clear what that proves apart from that roots home directory is root. As it should be as far as I know.telling you that it is something else, which for reasons I don't know is rejected by ?dm.it was gdm which I have now deleted, but I think there is something wrong with all the permissions for the /home/anthony folder I have these permissions on /home/anthony my home folder; my username is anthony : total 80 drw-rw-r-- 11 anthony anthony 4096 2006-10-24 16:51 audiodrw-rw-r-- 2 anthony anthony 4096 2006-10-19 13:36 background drw-rw-r--9 anthony anthony 4096 2006-10-19 18:27 com drw-rw-r-- 6 anthony anthony 4096 2006-10-10 04:52 current_writing drw-rw-r-- 2 anthony anthony 40962006-09-22 17:59 Desktop -rw-rw-r-- 1 anthony anthony 0 2006-10-27 01:43divx2pass.log drw-rw-r-- 19 anthony anthony 8192 2006-10-26 16:39 dl drw-rw-r-- 4 anthony anthony 4096 2006-10-27 02:00 film drw-rw-r-- 4anthony anthony 4096 2006-10-17 22:43 images drw-rw-r-- 92 anthonyanthony 4096 2006-10-26 12:03 music drw-rw-r-- 13 anthony anthony 40962006-10-25 18:52 mute drw-rw-r-- 2 anthony anthony 4096 2006-07-17 22:06 nicotine drw-rw-r-- 5 anthony anthony 4096 2006-10-12 23:29 pddrw-rw-r-- 3 anthony anthony 4096 2006-10-26 18:02 Polly drw-rw-r-- 15anthony anthony 4096 2006-09-11 21:07 Projects_Archive drw-rw-r-- 8anthony anthony 8192 2006-10-27 15:32 reading drw-rw-r-- 6 anthony anthony 4096 2006-10-29 20:06 tech drw-rw-r-- 4 anthony anthony 40962006-06-28 10:46 use drw-rw-r-- 9 anthony anthony 4096 2006-09-04 23:29writing On 10/29/06, Paul E Condon [EMAIL PROTECTED] wrote: On Sun, Oct 29, 2006 at 05:51:43PM -0500, Kevin Mark wrote: On Sun, Oct 29, 2006 at 09:21:19PM +, anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions -Message is about wrong permissions on file, .dmrc On your system this should owner anthony:anthony and permissions 600. Message istelling you that it is something else, which for reasons I don't know is rejectedby ?dm.--Paul E Condon [EMAIL PROTECTED]--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
Your listing ran all together; perhaps you posted HTML? anthony wrote: I have these permissions on /home/anthony my home folder; my username is anthony : total 80drw-rw-r-- 11 anthony anthony 4096 2006-10-24 16:51 audio drw-rw-r-- 2 anthony anthony 4096 2006-10-19 13:36 background drw-rw-r-- 9 anthony anthony 4096 2006-10-19 18:27 com drw-rw-r-- 6 anthony anthony 4096 2006-10-10 04:52 current_writing drw-rw-r-- 2 anthony anthony 4096 2006-09-22 17:59 Desktop -rw-rw-r-- 1 anthony anthony 0 2006-10-27 01:43 divx2pass.log drw-rw-r-- 19 anthony anthony 8192 2006-10-26 16:39 dl drw-rw-r-- 4 anthony anthony 4096 2006-10-27 02:00 film drw-rw-r-- 4 anthony anthony 4096 2006-10-17 22:43 images drw-rw-r-- 92 anthony anthony 4096 2006-10-26 12:03 music drw-rw-r-- 13 anthony anthony 4096 2006-10-25 18:52 mute drw-rw-r-- 2 anthony anthony 4096 2006-07-17 22:06 nicotine drw-rw-r-- 5 anthony anthony 4096 2006-10-12 23:29 pd drw-rw-r-- 3 anthony anthony 4096 2006-10-26 18:02 Polly drw-rw-r-- 15 anthony anthony 4096 2006-09-11 21:07 Projects_Archive drw-rw-r-- 8 anthony anthony 8192 2006-10-27 15:32 reading drw-rw-r-- 6 anthony anthony 4096 2006-10-29 20:06 tech drw-rw-r-- 4 anthony anthony 4096 2006-06-28 10:46 use drw-rw-r-- 9 anthony anthony 4096 2006-09-04 23:29 writing You might try double-checking your UID and the UID listing for your files, just to make sure your username hasn't gotten confused about who it is: [EMAIL PROTECTED]:/home/westk id uid=1000(westk) gid=1000(westk) groups=24(cdrom),29(audio),44(video),50(staff),1000(westk) [EMAIL PROTECTED]:/home/westk ls -lhn .dmrc -rw--- 1 1000 1000 26 2005-04-01 22:56 .dmrc -- Kent West Westing Peacefully http://kentwest.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Sun, Oct 29, 2006 at 01:40:39PM -0800, Jeff Goodman wrote: anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated Not sure if booting in single-user mode will give you root permission. If not, boot Knoppix, or some other live distro, mount your Debian partition, and do whatever tweaking is necessary. If booting in single-user mode doesn't work, boot into a shell. I don't know what boot loader you're using but if you haven't pre-configured a boot option that gives you a shell, you need to note the whole kernel boot command line, then reboot but when you get the boot prompt (lilo, grub, whatever), enter your kernel boot command line and add init=/bin/sh (or dash if its installed). At this point nothing is mounted. Check the owner/permissions of the /home mount point and fix as needed. Then go to /etc/rcS.d and manually start each script in the order listed with (for example on mine): ./S02mountvirtfs start until /home is mounted, then you can descend the /home directory and check/fix owner/permissions until you are happy. Then you have to manually go through /etc/rc0.d and run the scripts starting with (on mine) ./S40umountfs start (because it the first letter is 'S') Then power off and try a single-mode boot. If that works, try a normal boot. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
On Mon, Oct 30, 2006 at 12:14:46AM +, anthony wrote: Hello The result (as root) of ls -aFI / ./ ../ bin/ boot/ cdrom@ dev/ dyne/ etc/ .fonts.cache-1 home/ initrd/ initrd.img@ lib/ lib64/ lost+found/ media/ mnt/ nano.save opt/ proc/ root/ root.choice/ sbin/ srv/ sys/ tmp/ usr/ var/ vmlinuz@ of -aFI /home ./ ../ bin/ boot/ cdrom@ dev/ dyne/ etc/ .fonts.cache-1 home/ initrd/ initrd.img@ lib/ lib64/ lost+found/ media/ mnt/ nano.save nano.save.1 opt/ proc/ root/ root.choice/ sbin/ srv/ sys/ tmp/ usr/ var/ vmlinuz@ I'm not clear what that proves apart from that roots home directory is root. As it should be as far as I know. telling you that it is something else, which for reasons I don't know is rejected by ?dm. it was gdm which I have now deleted, but I think there is something wrong with all the permissions for the /home/anthony folder I have these permissions on /home/anthony my home folder; my username is anthony : total 80 drw-rw-r-- 11 anthony anthony 4096 2006-10-24 16:51 audio drw-rw-r-- 2 anthony anthony 4096 2006-10-19 13:36 background drw-rw-r-- 9 anthony anthony 4096 2006-10-19 18:27 com drw-rw-r-- 6 anthony anthony 4096 2006-10-10 04:52 current_writing drw-rw-r-- 2 anthony anthony 4096 2006-09-22 17:59 Desktop -rw-rw-r-- 1 anthony anthony 0 2006-10-27 01:43 divx2pass.log drw-rw-r-- 19 anthony anthony 8192 2006-10-26 16:39 dl drw-rw-r-- 4 anthony anthony 4096 2006-10-27 02:00 film drw-rw-r-- 4 anthony anthony 4096 2006-10-17 22:43 images drw-rw-r-- 92 anthony anthony 4096 2006-10-26 12:03 music drw-rw-r-- 13 anthony anthony 4096 2006-10-25 18:52 mute drw-rw-r-- 2 anthony anthony 4096 2006-07-17 22:06 nicotine drw-rw-r-- 5 anthony anthony 4096 2006-10-12 23:29 pd drw-rw-r-- 3 anthony anthony 4096 2006-10-26 18:02 Polly drw-rw-r-- 15 anthony anthony 4096 2006-09-11 21:07 Projects_Archive drw-rw-r-- 8 anthony anthony 8192 2006-10-27 15:32 reading drw-rw-r-- 6 anthony anthony 4096 2006-10-29 20:06 tech drw-rw-r-- 4 anthony anthony 4096 2006-06-28 10:46 use drw-rw-r-- 9 anthony anthony 4096 2006-09-04 23:29 writing Your post doesn't show the permissions or ownership of .dmrc I believe it is those permissions that are the problem. For some reason ?dm does not like them to be anything other than 600, neither tighter nor looser. Check them. -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Classic Gnubie accident
anthony wrote: Hello I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664 (its actually the whole /home directory that has the wrong permissions) I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc the file now has these permissions: -rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc but the login message is the same. I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root. Any help much appreciated I think is should be 644 (that is what mine is). -rw-r--r-- 1 wpmills wpmills 24 Feb 12 2006 .dmrc chmod 644 /home/anthony/.dmrc Paul begin:vcard fn:W Paul Mills n:Mills;W Paul org:The Mills Chaos In The USA adr:;;USA email;internet:[EMAIL PROTECTED] note:Hint: remove -NOT x-mozilla-html:FALSE url:http://Mills-USA.com version:2.1 end:vcard