• 0 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle





  • Unless there is a mapping between a UID of a user across many different machines (something like a domain controller), you’re not going to be able to set proper permissions by user. You need to use a generic group, or provide global read access at a minimum.

    I’m not 100% sure why you’ve chosen this route, but there are MUCH simpler ways of doing this that don’t involve VMs and NTFS volumes.

    At this point, you’re butting up against 3 levels of nested permissions, including the VM. My suggestion would be to make sure all the files on the NTFS volume have global read access, then go into the VM and attempt to set NTFS permissions on the files (they are different). If that becomes too tedious, you could just try setting 777 on all shared files. It’s unsafe, but may get you through until you find a more…workable solution for what you’re doing here.

    I think the overall solution is to just not need this Windows VM, so look at moving these sites off to Nginx or something ASAP.










  • Offline first for online content? Whoa buddy, where’s this Moon you’re asking for?

    Seriously though, you need to be realistic when you’re asserting your wants for a service or tool. Everyone builds tools to sync bookmarks and save lists now, because that’s a feature that users want. It’s going to be difficult to find something that is “offline”.

    Try using a memo app maybe? Lots of password managers have the ability to save links, and would technically be “outside” the browser if you want them to be.



  • TLDR: use a prefix manager instead of plain Wine

    You can install them anywhere, but if you’re using plain Wine, I’d suggest you instead go with something that will manage these locations for you.

    Each Wine setup has what is called a “prefix”, which in the simplest sense is just a folder that is setup like a Windows C:\ drive, and includes all the shared libraries and bits needed to run the game. When a program run is launched, it is locked into this prefix, so when it goes looking for files as it would on Windows, it’s going to find a familiar folder structure, including installed dependencies like MS VC libraries and DirectX stuff.

    Now…when you as a user are just using Wine directly, you’d generally be using the SAME prefix to install multiple games, which is hard to manage, and just clunky.

    Prefix managers like Proton, Lutris, Bottles and even Heroic will make a new prefix for EACH program, making things like troubleshooting, switching runtimes, or invoking custom configs per program a LOT easier.


    1. No, you can’t “remove” your local networking interfaces from a container and expect it to use networking, anymore than you can remove the engine from a car, and expect it to drive. Set the default route of that container to some VPN tunnel interface, and you should be fine.
    2. I’m not seeing a link to any config
    3. 1000:1000 is usually the default user that is created for you when you setup a Linux system, so yes it’s reasonable for them to run as your user. It is NOT reasonable to run them as root, which is 0:0. Don’t do that.

  • I get that you’re aiming this at a user base of new folks and all, but I’m super confused to see Nix on there.

    This is kind of…Nix’s entire identity, no?

    One could also make the argument that this supercedes bootstrap tools that each distro has. Kickstart for example.

    I would maybe focus on making helper scripts that do specific things for groups of users, like installing all the steam-* packages for Steam installs and not just steam itself since this is pretty opinionated on how you’re choosing to install things re: native package manager vs Flatpak and such.