Announcement

Collapse
No announcement yet.

Need help using ARK

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

    Need help using ARK

    Have installed a new computer & attempting to restore my KBackup files, via Ark, that are stored on my separate USB drive. My problem is this:

    Current situation of my 458 G Drive:

    Click image for larger version

Name:	Image 1.png
Views:	1
Size:	13.0 KB
ID:	649016

    QUESTION: How can I change the above to be just peter?

    I am an 81 male enthusiast, used Kubuntu for years, but getting rusty. I need all the help I can get!!!
    Hope some kind person can lend me a hand!
    Thanks in advance!!
    Attached Files
    Last edited by Bumpalot; Jul 19, 2015, 10:57 AM. Reason: To change the information

    #2
    Sorry, I can't figure out what you mean by "change the above to be just peter".

    It looks like KBackup restored to /home/oem and Peter is your user account?

    Likely, KBackup (I don't use it so just guessing) wouldn't overwrite your new home folder so creates that oem folder along side.

    If so, all you need to do is move the files you want from /home/oem to /home/peter and delete the rest. If you're having some other problem or questions, please explain.

    Please Read Me

    Comment


      #3
      One way to try:

      Start a live session and rename peter to peter.org or such and oem to peter.
      Reboot.

      Comment


        #4
        Sorry for the confusion!
        I need to know 2 things:
        1. Currently, on my Root/ > home drive there are 2 folders: oem & peter.
        Permissions of both are User: 1000 & Group 1000.
        I need to know how I can change both these permissions to"peter".

        Secondly:
        I extracted my backed-up files, contained in Ark, to a new folder I created - EXTRACTION - on my same USB drive & back folder The permissions of this folder are User: 1000, Group: 1000.
        In order for me to be able to copy these files to my operating Hard Drive, I need to know how I can change the access permissions to Peter.

        Hope this helps - thanks for your patience!

        Comment


          #5
          OK, If both are ownership:group = 1000:1000 they all belong to the first user, presumably petereter unless you used a different user at installation. In other words, if "peter" is your only user, then "peter" IS 1000. The name of the folder is meaningless. What ark shows you might be based on what if received at compression time, but owner:group is stored numerically by the file system and then matched and displayed by ls to the user name from /etc/passwd.

          If you want to change ownership and group to peter, simply enter:

          sudo chown -R petereter /path/to/files

          If you want to used the numerical UID/GID (because the user doesn't exist on the current system):

          sudo chown -R 1000:1000 /path/to/files

          If peter isn't user number 1000, then change them to whatever it is.

          Assuming peter is on the current system, this will show you peters userid and primary groupid:

          getent passwd "peter" | cut -d: -f3,4

          or if you want a one-liner:

          sudo chown -R `getent passwd "smith" | cut -d: -f3,4` /path/to/files
          Last edited by oshunluvr; Jul 20, 2015, 11:58 AM.

          Please Read Me

          Comment


            #6
            Am in a real mess now:
            kio_themnail - KDialog message:
            Configuration file "/home/oem/.kde/share/config/kio_thumbnailrc" not writable.
            Please contact your system administrator.

            Also: Root>home shows 2 folders: oem & peter
            on clickin oem : mesage : Could not enter folder /home/oem.
            on clicking peter - blank screen

            dolphin - KDialog message
            Configuration file "/home/oem/.kde/share/config/dolphinrc" not writable.
            Please contact your system administrator.
            Last edited by Bumpalot; Jul 22, 2015, 02:32 PM. Reason: to add more info

            Comment


              #7
              Replace "/path/to/files" with the path to YOUR files. The target that you want to change ownership.

              What's stopping you from deleting the oem folder?

              Please Read Me

              Comment


                #8
                It won't delete!

                Would it not be better for me to extract the files with Ark-to their original location home/bumpy
                How do I remove the "oem & peter" currently I get Pop up
                "Could not delete file /home/oem/.kde/share"
                & "Could not delete file /home/peter/.bashrc."

                Later: I just tried to extract tp Home - failed -
                the folder could not be created, but it is there!!
                Ten tried to extract to home - same excuse!! - Please check your permissions to create it.
                Last edited by Bumpalot; Jul 20, 2015, 05:40 PM. Reason: add extra info

                Comment


                  #9
                  I think our terminology is getting confused ,,,,,,,lets start with showing us ,,,,,,
                  Code:
                  ls -la ~/
                  and when you copy and past it hear please place it in between [code]tags ,,click the # above the text Field to get them

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #10
                    Code:
                    oem@PeterPuter:~$ ls -la ~/
                    total 80
                    drwxrwxrwx 14 oem  sudo 4096 Jul 21 10:21 .
                    drwxr-xr-x  4 root root 4096 Jul 15 08:08 ..
                    -rw-------  1 oem  oem   120 Jul 20 17:07 .bash_history
                    drwxrwxrwx 11 oem  sudo 4096 Jul 20 15:59 .cache
                    drwxrwxrwx 15 oem  sudo 4096 Jul 21 08:01 .config
                    drwxr-xr-x  2 oem  oem  4096 Jul 21 08:00 Desktop
                    drwxrwxrwx  3 oem  sudo 4096 Jul 21 08:01 .gconf
                    drwxrwxrwx  3 oem  sudo 4096 Jul 18 12:24 .gnupg
                    -rw-r--r--  1 oem  oem    82 Jul 20 15:34 .gtkrc-2.0
                    drwxrwxr-x  3 oem  oem  4096 Jul 20 17:19 Home
                    drwxrwxrwx  6 oem  sudo 4096 Jul 20 15:50 .kde
                    drwxrwxrwx  3 oem  sudo 4096 Jul 15 08:28 .local
                    drwxrwxrwx  4 oem  sudo 4096 Jul 15 12:40 .mozilla
                    drwxrwxrwx  3 oem  sudo 4096 Jul 18 07:31 .pki
                    -rw-------  1 oem  oem   342 Jul 21 10:21 .recently-used
                    drwxrwxrwx  4 oem  sudo 4096 Jul 17 14:48 .thumbnails
                    drwxrwxrwx  6 oem  sudo 4096 Jul 20 15:55 .thunderbird
                    -rw-------  1 oem  oem    55 Jul 20 15:37 .Xauthority
                    -rw-------  1 oem  oem    66 Jul 20 15:37 .xsession-errors
                    -rw-------  1 oem  oem   254 Jul 20 15:37 .xsession-errors.old
                    oem@PeterPuter:~$

                    Comment


                      #11
                      If you're logged in as "oem" you should still be able to delete those, but if you're oem, why delete your /home/oem


                      That's a mess though, how did it get like that?

                      Please Read Me

                      Comment


                        #12
                        Currently with all this confusing situation, this is the state I'm in:

                        Click image for larger version

Name:	snapshot1.png
Views:	1
Size:	18.8 KB
ID:	642959

                        Comment


                          #13
                          Yikes! It looks like ark extracted the full path into /home/oem. Next time, consider that when un-archiving and archiving, etc.

                          Lets fix this now. First, are you going to be user oem now? Assuming yes, do this:

                          sudo chown -R oemem /home/

                          If oemem is not your user:group ID, use the one that is. Based on your post above, it appears you're logged in as oem.

                          This should give you correct UID:GID for all your file. You should then be able to delete and move the files around within your /home/oem as you wish. Careful not to delete settings you may want to keep!

                          Please Read Me

                          Comment


                            #14
                            I understand this is all very confusing, but I was confused using ARK - that was the original problem when I first started this post. It all get entangled. I was confused, & still am as to setting the correct correct extraction path.

                            I want to extract to home//bumpy. How can we fix that?

                            Comment


                              #15
                              This, maybe?

                              Once an archive has been opened in Ark, it can be extracted. To quick extract files from an archive, you can select Extract from the Action menu. This opens a submenu with previously accessed folders, and you can select to quick extract into any of them. Clicking on the check mark at the right side of the Extract button in the toolbar performs the same action.
                              To open the Extract dialog click the Extract button in the toolbar or use the shortcut Ctrl+E. This
                              dialog allows you to select where you will extract files to. The default location is the folder the
                              archive is in ...
                              https://docs.kde.org/trunk4/en/kdeutils/ark/ark.pdf
                              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                              Comment

                              Working...
                              X