If I do this, will it work?

Discussion in 'all things UNIX' started by bellgamin, Mar 13, 2023.

  1. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
    Dumb Questions #673.89-91

    If I move all my HOME files to an external SSD:
    1- Will my apps continue to work okay? For example: How will an app that automatically saves every few minutes know where its destination files are located, now that I have moved them?

    2- Will doing this increase the security of my HOME files?

    3- Does unmounting a drive make it inaccessible to malware?
     
  2. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,223
    Location:
    Member state of European Union
    1) App does not know physical location. It just sees file path. OS handles it.
    Edit: I assume that you type in information to files that keep mappings between paths in directory tree and partitions on drives
    2) I don't think so. It won't hurt either, provided you format partition with file system that supports Unix file permissions (not FAT 32 nor exFAT) and you keep same physical security level against theft.
    3) Yes. However malware with root rights can theoretically mount file system at any time.

    I wonder if what would happen if you don't have that drive connected during boot process... it is likely you may not have ability to log in to regular user account or you log in and nothing works until restart with connected drive.
     
    Last edited: Mar 14, 2023
  3. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
    Erp! How does malware obtain root rights -- by cracking the password?
     
  4. Nebulus

    Nebulus Registered Member

    Joined:
    Jan 20, 2007
    Posts:
    1,636
    Location:
    European Union
    Usually, by exploiting a bug/vulnerability in software or by taking advantage of a bad configuration. For a summary of methods you could check this: https://en.wikipedia.org/wiki/Privilege_escalation
     
  5. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.