• 9 Posts
  • 1.2K Comments
Joined 3 years ago
cake
Cake day: July 4th, 2023

help-circle




  • Discretionary access control let’s you specify read write and execute permission flags for three different classes of user: the user that owns the file, members of the group that owns the file, and other users. These three classes are often abbreviated with u g and o for user, group, and other. The permissions are abbreviated with r w and x for read write and execute. By calling chmod with o-x you are “subtracting” the x permissions for o users.

    The file may still be executable by the files owner or users in the group that owns the file. To check, run ls -l and look at the part that shows rwxrwxrwx (any of which may be replaced with a -). This shows the permission flags in order for the owner, the group, and other users. If the flag is set you will see the letter abbreviation, if it is not set you will see -, so you would want the file to have permissions like r-xr–r-- and be owned by root, so only root can execute the file.

    You can change the owner with chown root /path/to/file

    If you want to get more crazy with permissions look up Linux ACLs or the setfacl and getfacl commands









  • It’s terribad, the only glimmer of hope is web assembly and the related apis, but ultimately it’s just adding another layer to the onion that will eventually have sensitive data and important interfaces to protect and require yet another layer on top.

    Also it’s a sneaky way of exploiting foss without contributing back.




  • I can confirm focusrite scarlet interfaces work fine, and the uv1 should be fine as well but I don’t have one. You may need to get familiar with the Linux audio landscape. VSTs mostly work these days, although I only use foss VSTs so maybe commercial ones have their own caveats.

    For pro audio you should be using JACK to connect your sound devices. These days if you run a system that uses pipewire, pipewire can pretend to be a JACK server just fine. I like to use QJackCtl to set up Jack environments, although its not necessary because many DAWs are capable of setting up in the application.

    For a DAW I used to love Ardour, now I still like it but am sad that it has been crashing often for me. I don’t use any of them but there are some well liked Linux daws like reaper.

    You may have trouble with recording without a preemptable (aka real-time) kernel. Afaict this only matters on lower end computers or when you have a lot of live plugins running, but using a kernel with this feature just means that more kernel code can be interrupted to handle things like fresh audio data arriving over USB.

    Mostly, you’ll need some time to get everything working how you want. I agree with the recommendation to use a separate disk in your existing computer for Linux, or get a whole separate computer. The nice thing about using a separate disk is you can know for sure your windows setup is available if needed. For me I slowly left windows behind, only realizing later that it has been a year or more since I last fired it up.


  • Linux vtty forever! Can’t cat data into the framebuffer when your desktop is getting in the way!!

    Jk I use gnome terminal for everything, or whatever default is available. It’s quite amazing that most of them handle all but the most niche terminal features these days.

    When I need to install a terminal emulator for some reason I always go for urxvt… but it is pretty terrible (it’s a great vt but mouse interaction is clunky and graphics are old school) compared to pretty much everything else.