Spyke

Posts

Trouble Fixing permissions for SFTP

Context

I'm not very used to permissions based access so please forgive some of the ignorant attempts. For context, i have a jellyfin media server running on a mini PC. My previous way of transfering media to the server was using a secondary portable SSD and just plugging it in directly and moving the files to the main SSD. Originally the SSD was formatted to VFAT.

Issue

I had the idea that maybe using SFTP would allow me to just be able to drop in the files id like to host and simplify this process. With the original context above, I set up SSH and copied the id_rsa key over to the headless machine and launched sftp. This worked great but i was unable to add more files to the directory via SFTP, only read them.

Attempted

Skipping over discovering that VFAT is not linux permission friendly except on mounting options, I reformatted the drive to Ext4. This is where i began running into issues.

I relized the drive had permissions to root:root so i started trying to change them. First i made a group called jellyfin, and tried to run the following:

sudo chown mainuser:jellyfin /media/jellyfin

to try to set ownership to the mainuser while adding the jellyfin group to it. I then edited the same sftpuser to the jellyfin group. For the final file editing, i ran the following (initially tried 765 in hopes of 7 for owner, 6 for group, and 5 for everyone else):

sudo chmod 777 /media/jellyfin

I also set the starting sftp area for sftp user to that directory as well.

Current problem

Neither SFTP or Jellyfin is now able to see that directory path. On SFTP I'm getting "FATAL: Connection reset by peer" while on jellyfin im getting playback errors for all media as well as not able to discover new media i manually added to the drive.

On the actual vm console, im able to cd and view all files under sftpuser and verified I was able to add that user to the jellyfin group. Any advise here would be great. I'm also happy to provide more context as well.Thanks!

View original on lemmy.dbzer0.com

FYI - Graphene OS has biometrics with pin

Apologies If I can't list specific 3rd Android OS here. I know you can't on some reddit privacy subs due to some beef between devs I guess. I'll take down if needed :)

Regardless, Ive been running GOS for a while and just found out theres a feature that allows you to use biometrics while still requiring your pin on the initial lock screen. One of my concerns with biometrics is that in some jurisdictions, law enforcement can force someone to open their phone through face ID or thumb print.

I've been using this feature that allows you to use biometrics but when you are on the lock screen, it still requires your pin. I thought this was really cool because it allows me to use biometrics only to unlock my apps while still adding an extra layer of protection to the unlocking of the device itself. Obviously slightly Inconvenient depending on your worries/threat level, but I just wanted to share this in case anyone else was interested and didnt know about it! Very cool!

EDIT: I just re-read my screenshot and it looks like fingerprint unlock is not correlated to using fingerprint for app unlocking. If this is the case then I'm not quite sure what the actual benefits are here. Please feel free to clarify!

View original on lemmy.dbzer0.com
opensource·Open SourcebyJackAttack

Open Source Android Keyboard

I saw a post on reddit asking for open source android keyboards in recent years since a lot of the posts were older. One user recommended "Futo Keyboard".

To be clear, I'm not affiliated with them but I've been trying them based on that reddit response and I just wanted to share here in case anyone else has been looking.

In short, this keyboard is about as close to awesome as you can get so far. Features I like:

  • Feels like GBOARD
  • Works fully offline
  • Gesture typing (about 75% as accurate as GBoard)
  • Built in offline speech to text (no third party engine needed to download

I've tried other options like heliboard and openboard and they are great too, but I think so far this has been the best I've tried and I wanted to recommend it on here in case anyone else is looking. Feel free to share any other setups or recommendations below!

EDIT: it was pointed out that it is source-available and not open source. Apologize for my initial assumption. The source and license can be viewed here: Futo Keyboard. It is fully open for non-commercial use. Anything commercial can have restrictions.

View original on lemmy.dbzer0.com
selfhosted·SelfhostedbyJackAttack

Replacing router with OpenWRT on Proxmox

Not sure if this 100% goes here but I'm relatively new to the self hosting world. Please advise if this needs to be moved elsewhere and I will.

I recently picked up a beelink mini PC and have been running Proxmox for things like jellyfin, home assistant, etc.

I'm looking to set up OpenWRT and found a helper script that sets up the VM but I'm having issues being able to configure wireless. According to the official docs, wireless is off by default if there are eth ports. When I go to edit it, both in the LuCl and in the /etc/config/wireless file, I hit 2 issues:

  1. The web client doesn't have a wireless option.
  2. There is no wireless file In the config directory.

I tried looking for some solutions online but wasn't sure what was exactly specific for me. I wasn't sure if this was a hardware issue or a Proxmox/OpenWRT config issue. Any advice on this?

Side note: My thoughts were I could use the internal wi-fi adapter for wireless but would I need a USB adapter of some sort for this capability?

Edit: I realized later I left some context off. In case i wasn't clear enough. Sorry. Currently I use a Google nest wifi pro router and was hoping to replace it with OpenWRT for more control/customization.

View original on lemmy.dbzer0.com

You reached the end