Announcement

Collapse
No announcement yet.

Help with /home directory <SOLVED>

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Help with /home directory

    It's a miracle
    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

    Comment


      #17
      Re: Help with /home directory

      Next step?

      I created a user:group to match the old /home in the new installation

      However, that alone did not fix my dilemma.

      When I reinstate the line in /etc/fstab to load the /sda1 drive as /home, I still have the same problem.

      So I've commented it out for now . . .
      TJ<br /><br />Shuttle SN68PTG5<br />AMD 64 X2 6000<br />nVida GeForce 7050PV/inForce 630a<br />4GB Memory

      Comment


        #18
        Re: Help with /home directory

        So sda1 is supposed to be your fantasgorgic new /home, right? But when you tie it into the fstab with:

        # /dev/sda1
        UUID=bdc0941c-87cc-49cf-9d8b-37aa1c54dc1f /home ext3 relatime 0 2

        you (or anyone else) cannot log in, right?

        Can you mount sda1, change into it and post the output of
        Code:
        ls -la
        If there is a user set up there (and there should be) can you change into him/her and do the same again please...
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #19
          Re: Help with /home directory

          ls -la of sda1

          drwxr-xr-x 4 root root 4096 2008-10-16 17:59 .
          drwxr-xr-x 5 root root 4096 2008-10-20 13:00 ..
          lrwxrwxrwx 1 root root 44 2008-10-16 17:59 .directory -> /etc/kubuntu-default-settings/directory-home
          drwx------ 2 root root 16384 2008-07-06 17:40 lost+found
          drwxr-xr-x 92 tj1520 tj1520 4096 2008-10-20 13:02 tj1520


          ls -la of user
          hppav@hppav-laptop:/media/docudrive/tj1520$ ls -la
          total 1172932
          drwxr-xr-x 92 tj1520 tj1520 4096 2008-10-20 13:02 .
          drwxr-xr-x 4 root root 4096 2008-10-16 17:59 ..
          -rw-r--r-- 1 hppav hppav 644450 2008-02-08 14:52 01482_londoneye_1440x900.jpg
          drwx------ 3 hppav hppav 4096 2008-02-08 14:09 .adobe
          -rw-r--r-- 1 hppav hppav 11737 2008-05-02 14:48 Adobe Acrobat.png
          drwx------ 2 hppav hppav 4096 2008-09-28 15:50 .aptitude
          drwxr-xr-x 2 hppav hppav 4096 2008-09-17 18:11 .archimedes
          drwxr-xr-x 2 hppav hppav 4096 2008-05-11 08:37 .assistant
          drwxr-xr-x 10 hppav hppav 4096 2008-08-19 16:28 .azureus
          drwxr-xr-x 3 hppav hppav 4096 2008-04-09 16:47 .Azureus
          -rw------- 1 hppav hppav 5736 2008-10-17 19:13 .bash_history
          -rw-r--r-- 1 hppav hppav 220 2008-02-07 03:32 .bash_logout
          -rw-r--r-- 1 hppav hppav 2298 2008-02-07 03:32 .bashrc
          drwx------ 6 hppav hppav 4096 2008-02-08 10:11 .BitTornado
          -rw------- 1 hppav hppav 43 2008-02-08 14:47 blank.gif
          drwx------ 2 hppav hppav 4096 2008-02-25 14:23 .bogofilter
          drwx------ 2 hppav games 4096 2008-09-28 18:09 .burgerspace
          drwxr-xr-x 4 hppav hppav 4096 2008-02-18 17:11 .cache
          drwx------ 2 hppav hppav 4096 2008-05-06 15:13 .camel_certs
          -rw-r--r-- 1 hppav games 305 2008-06-22 17:04 .circuslinuxrc
          drwx------ 3 hppav hppav 4096 2008-09-16 18:51 .compiz
          drwxr-xr-x 14 hppav hppav 4096 2008-10-16 18:45 .config
          drwxr-xr-x 2 hppav hppav 4096 2008-06-29 13:31 .critter
          drwxr-xr-x 3 hppav hppav 4096 2008-09-16 19:12 .cycas3
          drwxr-xr-x 8 hppav hppav 4096 2008-09-16 19:12 CYCAS3
          drwx------ 3 hppav hppav 4096 2008-10-16 18:21 .dbus
          drwx------ 2 hppav hppav 4096 2008-03-18 21:24 .dbus-keyrings
          -rw-r--r-- 1 hppav hppav 1293320 2008-09-27 15:33 default.png
          drwxr-xr-x 3 hppav hppav 4096 2008-03-01 08:16 .designer
          drwxr-xr-x 2 hppav hppav 4096 2008-10-18 11:34 Desktop
          drwxr-xr-x 5 hppav hppav 4096 2008-04-13 19:58 .dia
          -rw------- 1 hppav hppav 70 2008-10-18 16:57 .directory
          drwxr-xr-x 3 hppav hppav 4096 2008-07-06 17:18 DLs
          -rw------- 1 hppav hppav 26 2008-10-18 08:22 .dmrc
          drwxr-xr-x 5 hppav hppav 4096 2008-10-06 15:50 Documents
          drwxr-xr-x 4 hppav hppav 4096 2008-04-25 17:16 .emerald
          drwx------ 2 hppav games 4096 2008-07-06 15:55 .emilia
          -rw------- 1 hppav hppav 16 2008-02-07 09:40 .esd_auth
          drwxr-xr-x 8 hppav hppav 4096 2008-10-18 12:20 .evolution
          lrwxrwxrwx 1 hppav hppav 26 2008-07-09 17:12 Examples -> /usr/share/example-content
          -rw-r--r-- 1 hppav hppav 292 2008-07-01 21:01 .fbhighlevelshistory
          -rw-r--r-- 1 hppav hppav 194 2008-07-01 21:01 .fbhighscores
          -rw-r--r-- 1 hppav hppav 1197 2008-10-11 18:41 .fbrc
          -rwx------ 1 hppav hppav 419398 2008-02-08 12:20 FEDEX011108.pdf
          drwxr-xr-x 2 hppav hppav 4096 2008-10-17 18:01 .fontconfig
          drwx------ 6 hppav hppav 4096 2008-10-18 12:20 .gconf
          drwx------ 2 hppav hppav 4096 2008-10-18 12:20 .gconfd
          drwxr-xr-x 22 hppav hppav 4096 2008-10-16 18:23 .gimp-2.4
          -rw-r----- 1 hppav hppav 0 2008-10-18 12:16 .gksu.lock
          drwxr-xr-x 3 hppav hppav 4096 2008-02-07 09:40 .gnome
          drwx------ 19 hppav hppav 4096 2008-10-18 12:20 .gnome2
          drwx------ 2 hppav hppav 4096 2008-06-05 21:59 .gnome2_private
          drwx------ 2 hppav hppav 4096 2008-10-18 12:16 .gnupg
          drwxr-xr-x 4 hppav hppav 4096 2008-07-06 15:33 GNUstep
          drwxr-xr-x 2 hppav hppav 4096 2008-02-14 18:35 .gpilotd
          -rw-r--r-- 1 hppav hppav 4 2008-02-20 12:17 .gpilotd.pid
          drwxr-xr-x 2 hppav hppav 4096 2008-10-17 18:51 .gstreamer-0.10
          -rw-r--r-- 1 hppav hppav 112 2008-10-18 12:16 .gtk-bookmarks
          -rw-r--r-- 1 hppav hppav 25507 2008-10-16 18:21 .gtk_qt_engine_rc
          -rw-r--r-- 1 hppav hppav 88 2008-02-07 09:40 .gtkrc-1.2-gnome2
          -rw-r--r-- 1 hppav hppav 285 2008-10-16 18:11 .gtkrc-2.0-kde
          drwx------ 2 hppav hppav 4096 2008-04-25 15:48 .gvfs
          -rw------- 1 hppav hppav 8061 2008-10-18 12:20 .ICEauthority
          drwxr-xr-x 7 hppav hppav 4096 2008-09-28 18:20 .icons
          -rw-r--r-- 1 hppav hppav 324 2008-05-01 17:46 .ifpgui_rc
          -rw-r--r-- 1 hppav hppav 11 2008-10-17 08:56 .iscan_preference
          drwx------ 5 hppav hppav 4096 2008-10-16 18:11 .kde
          drwx------ 4 hppav hppav 4096 2008-10-16 18:45 .kde4
          drwxr-xr-x 3 hppav hppav 4096 2008-02-07 09:40 .local
          drwx------ 3 hppav hppav 4096 2008-02-08 14:09 .macromedia
          drwxr-xr-x 3 hppav hppav 4096 2008-06-22 17:05 .mcop
          -rw------- 1 hppav hppav 31 2008-10-17 16:00 .mcoprc
          drwx------ 3 hppav hppav 4096 2008-02-07 09:40 .metacity
          drwx------ 4 hppav hppav 4096 2008-04-25 20:44 .mozilla
          drwx------ 4 hppav hppav 4096 2008-02-20 11:57 .mozilla-thunderbird
          drwxr-xr-x 3 hppav hppav 4096 2008-02-18 16:51 Music
          drwxr-xr-x 3 hppav hppav 4096 2008-09-16 18:51 .nautilus
          -rw-r--r-- 1 hppav hppav 61440 2008-02-09 15:19 nautilus-debug-log.txt
          drwxr-xr-x 2 hppav hppav 4096 2008-04-23 06:48 .ndbm
          drwxr-xr-x 2 hppav hppav 4096 2008-04-23 09:50 .NeurosDBM
          -rw-r--r-- 1 hppav hppav 585691136 2008-02-07 16:00 o12ent.iso
          drwx------ 3 hppav hppav 4096 2008-10-16 17:31 .openoffice.org2
          drwx------ 5 hppav hppav 4096 2008-09-06 14:01 .opensync-0.22
          drwx------ 2 hppav hppav 4096 2008-09-17 10:32 PDF
          drwxr-xr-x 2 hppav hppav 4096 2008-07-30 07:40 .pdfedit
          drwxrwxr-x 3 hppav hppav 4096 2008-09-06 11:25 PDFStudio
          drwxr-xr-x 3 hppav hppav 4096 2008-07-27 08:38 .PDFStudio
          lrwxrwxrwx 1 hppav hppav 32 2008-09-06 11:25 PDF_Studio -> /home/tj1520/PDFStudio/PDFStudio
          -rw-r--r-- 1 hppav hppav 132 2008-10-17 08:16 .PDFStudio.log
          -rw-r--r-- 1 hppav hppav 24214 2008-02-19 11:42 pG01-3894071dt.jpg
          drwxr-xr-x 8 hppav hppav 4096 2008-08-10 18:49 Photos
          drwxr-xr-x 28 hppav hppav 4096 2008-06-15 06:00 Pictures
          drwxr-x--- 10 hppav hppav 4096 2008-07-01 16:49 .pingus
          drwxr-xr-x 3 hppav hppav 4096 2008-07-01 19:52 PiXJuegos
          drwxr-x--- 3 hppav hppav 4096 2008-06-15 06:07 Podcasts
          -rw-r--r-- 1 hppav hppav 244630 2008-03-01 09:34 print.pdf
          drwxrwxrwx 25 hppav hppav 4096 2008-10-01 05:16 PRIVATE
          -rw-r--r-- 1 hppav hppav 566 2008-02-07 03:32 .profile
          drwxrwxrwx 12 hppav hppav 4096 2008-04-19 12:11 ProjectFiles
          -rw-r--r-- 1 hppav hppav 3359 2008-10-17 08:17 .PSSettings.xml
          drwxr-xr-x 2 hppav hppav 4096 2008-03-30 16:03 Public
          drwxr-xr-x 2 hppav hppav 4096 2008-04-26 18:27 .pulse
          -rw------- 1 hppav hppav 256 2008-04-25 15:48 .pulse-cookie
          drwx------ 5 hppav hppav 4096 2008-03-04 19:34 .purple
          drwxr-xr-x 10 hppav hppav 4096 2008-04-13 08:12 qcad-2.2.1.0
          drwxr-xr-x 10 hppav hppav 4096 2008-08-29 03:29 qcad-2.2.2.0
          drwxr-xr-x 2 hppav hppav 4096 2008-10-18 07:48 .qt
          -rw------- 1 hppav hppav 10083 2008-09-29 20:08 .recently-used
          -rw-r--r-- 1 hppav hppav 272354 2008-10-18 12:20 .recently-used.xbel
          drwxrwx--- 4 hppav hppav 4096 2008-09-27 15:24 .sane
          drwxr-xr-x 5 hppav hppav 4096 2008-09-06 08:15 .scribus
          drwxr-xr-x 2 hppav hppav 4096 2008-03-29 07:30 .serpentine
          drwx------ 2 hppav hppav 4096 2008-04-25 15:48 .ssh
          -rw-r--r-- 1 hppav hppav 0 2008-02-07 09:41 .sudo_as_admin_successful
          drwxr-xr-x 2 hppav hppav 4096 2008-07-06 16:04 .supertuxkart
          drwxr-xr-x 3 hppav hppav 4096 2008-02-20 15:54 .sync4j
          drwxr-xr-x 3 hppav hppav 4096 2008-09-06 14:07 .synce
          drwxr-xr-x 2 hppav hppav 4096 2008-02-07 09:40 Templates
          drwxr-xr-x 2 hppav hppav 4096 2008-02-07 21:57 .themes
          -rwxrwxrwx 1 hppav hppav 277616 2007-12-01 06:41 TheWeatherChannel_dw5_Stubweathermax_pd.exe
          drwx------ 5 hppav hppav 4096 2008-02-13 18:50 .thumbnails
          drwxr-xr-x 5 hppav hppav 4096 2008-10-01 05:59 .tomboy
          -rw-r--r-- 1 hppav hppav 4771 2008-10-17 18:29 .tomboy.log
          -rw------- 1 hppav hppav 0 2008-06-23 12:32 uBwrxi
          drwxr-xr-x 2 hppav hppav 4096 2008-04-25 15:58 .update-manager-core
          drwx------ 2 hppav hppav 4096 2008-04-25 21:08 .update-notifier
          drwxr-xr-x 2 hppav hppav 4096 2008-02-07 09:40 Videos
          -rwx------ 1 hppav hppav 74752 2008-02-03 10:23 VIR-SOUN-06.xls
          drwxr-xr-x 4 hppav hppav 4096 2008-05-24 16:08 .VirtualBox
          drwx------ 2 hppav hppav 4096 2008-02-20 11:53 .w3m
          drwxr-xr-x 2 hppav hppav 4096 2008-10-18 12:16 .wapi
          -rw-r--r-- 1 hppav hppav 3046691 2008-09-27 15:40 Wengerds.png
          drwxr-xr-x 4 hppav hppav 4096 2008-10-18 07:58 .wine
          -rw-r--r-- 1 hppav hppav 607250432 2008-02-07 10:32 wXP.iso
          -rw------- 1 tj1520 tj1520 0 2008-10-20 13:02 .Xauthority
          -rw-r--r-- 1 hppav hppav 280 2008-09-28 18:18 .xgalscores
          drwxr-xr-x 2 hppav hppav 4096 2008-10-16 18:45 .xine
          drwxr-xr-x 4 hppav hppav 4096 2008-02-18 17:33 .xmms
          -rw-r--r-- 1 hppav hppav 193 2008-09-28 08:19 .xscreensaver-getimage.cache
          -rw------- 1 tj1520 tj1520 1161 2008-10-20 13:02 .xsession-errors
          TJ<br /><br />Shuttle SN68PTG5<br />AMD 64 X2 6000<br />nVida GeForce 7050PV/inForce 630a<br />4GB Memory

          Comment


            #20
            Re: Help with /home directory

            Cheers.

            Right, so you have a directory for yourself in sda1 - the last entry - and it belongs to you.

            However, as soon as you cd into it and you list all of what is in there you will notice that every single directory and file bar the last one belong to hppav - which means you don't have any access.

            Change that by going into /media/docudrive/tj1520 (assuming that is your sda1) and typing:
            Code:
            sudo chown -R tj1520:tj1520 *
            and
            Code:
            sudo chown -R tj1520:tj1520 .*
            Now you should be able to mount sda1 at boot time by uncommenting it in the fstab.

            HTH
            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

            Comment


              #21
              Re: Help with /home directory

              Many thanks, kind sir

              That was just what I needed to fix this quandry. I suspected (as I looked at the output of ls) that it was an ownership issue. You advice saved me hours of trying to figure out how to chown correctly.

              I hope that someday I may have learned something about this fine operating system enough to be of assistance to you in return!
              TJ<br /><br />Shuttle SN68PTG5<br />AMD 64 X2 6000<br />nVida GeForce 7050PV/inForce 630a<br />4GB Memory

              Comment


                #22
                Re: Help with /home directory &lt;SOLVED&gt;

                It is fantastic, isn't it, the control afforded to the user/root is spectacular. With regard to rights and the like I suggest you travel around the command line with cd and have a look at a few directories with ls -la. Note the annotation as in

                drwxr-xr-x 2 hppav hppav 4096 2008-09-17 18:11 .archimedes
                The first d stands for directory - the next three letters are for the users (read, write, execute), the next three for the group (in this case group members may only read and execute but not write) and finally come others (and they have the same rights as those in the group in this case).

                Have fun and enjoy - I need all the help I can get, so stick around and it'll be you helping me sooner rather than later
                Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                Comment


                  #23
                  Re: Help with /home directory &lt;SOLVED&gt;

                  For those who may stumble upon this thread later, or may be following it now . . .

                  You won't get much done with your newly restored /home directory unless you assign your previous user admin rights.
                  In my case, that's what was missing. So, no package management, no sudo on the command line etc.

                  So my advice is: After you fix your dilema, reboot, go into failsafe mode, drop to root:

                  adduser <username> admin

                  Continue you boot; go into user management and make sure you give yourself rights to everything else you want:
                  IE: cdrom, sambashare, etc 8)
                  TJ<br /><br />Shuttle SN68PTG5<br />AMD 64 X2 6000<br />nVida GeForce 7050PV/inForce 630a<br />4GB Memory

                  Comment

                  Working...
                  X