At long last I’m finally switching operating system for my gaming PC. I have a lot of photos and such saved that have been moved from an NTFS drive. Is there any tool out there to help me fix the permissions of these files according to file type in bulk?

  • @FauxLiving
    link
    101 day ago

    Your things may be owned by root and have unusual permissions.

    So, to make your NTFS drive be owned by your user and group and to set the permissions you can:

    # Change owner to user:user
    sudo chown -R username:group your_directory
    
    # Change permissions to default (typically 755 for directories and 644 for files)
    
    # For directories
    find your_directory -type d -exec chmod 755 {} \;
    
     #files
    find your_directory -type f -exec chmod 644 {} \;