MentalEdge
Eskating cyclist, gamer and enjoyer of anime. Probably an artist. Also I code sometimes, pretty much just to mod titanfall 2 tho.
Introverted, yet I enjoy discussion to a fault.
- 21.6K Posts
- 7.99K Comments
MentalEdge@sopuli.xyzto
No Stupid Questions@lemmy.world•What am I doing wrong with Linux/NAS permissions?
3·3 hours agoNote, #4 will not apply to files MOVED into the directory. Only files that count as “created” there (like a copy operation).
MentalEdge@sopuli.xyzOPto
Antique Memes Roadshow@lemmy.world•Memes from my dad's stash #1
3·3 hours agoYes
MentalEdge@sopuli.xyzOPto
Antique Memes Roadshow@lemmy.world•Memes from my dad's stash #1
2·3 hours agodeleted by creator
MentalEdge@sopuli.xyzto
No Stupid Questions@lemmy.world•What am I doing wrong with Linux/NAS permissions?
3·3 hours agoNo.
Assuming you’re accessing your files via network mounts, those file are being created by the relevant SMB/NFS/SSH daemon. ALL FILES are created by some process or other. If you click “new file” in Dolphin, that process is Dolphin.
Which means there is a umask you can configure.
My network SMB mount that leads to my jellyfin libraries is configured (on the server) to access the filesystem under my user and the shared media group. Hence files it “creates” are always done so with correct permissions. User, group and umask are configurable for each share.
This way, I can copy files from a share containing “my” files, into the media share, and have the owner, group and umask automatically “translate” into what they should be in either direction. Theres not really a way to do that directly on the system. It’s something you can only really set up when moving files around between the shares and hence their respective environments.
If I did the move in the terminal directly on the host system, shit would instantly break.
Files and directories can only have one owner for user and group, each. If files you create belonged to every group you are in, that’d be a permission nightmare, so by default, the group permission is “unused” (it just gets set to the same as your user).
You could add the application that needs to access files created by you to your user group, but that’s a lot more permissive than it needs to be (it gets to access all your files with group access granted).
If you’re managing files via network shares, the solution is in their settings.
If you’re managing files on the system directly, that’s trickier. New files can be made to inherit the group of the parent directory (edit: other commentor), which solves your problem only some of the time, as it won’t affect files you move into the folder. In those cases you still have to fix the group after moving. That, or copy instead of move.
Bottom line: You’re not really supposed to manage this stuff directly. When you go in and create files directly on the host system, you are bypassing the systems that would normally set permissions inside a share or directory that is being accessed by multiple applications, users, and services.
Making the default of files created in such a way non-permissive, is by design. That you have to manually correct the group permissions on a file you just moved in from another permission environment, is as it should be.
MentalEdge@sopuli.xyzto
No Stupid Questions@lemmy.world•What am I doing wrong with Linux/NAS permissions?
7·3 hours agoNo, you are not expected to cronjob the chmod command.
You want “umask”. That’s the term, you can google it for more info.
Basically, it’s the setting that controls what the default permissions are for the files created by a process.
Jellyfins umask is configurable using the systemd unit file. Arr stack umasks are somewhere in their settings… Etc.
It is process specific, and something you configure for each application. Owner is whatever user runs the process, and same goes for group.
Group does not need to be same as user. You can run jellyfin with a “jellyfin” user and “media” group, so that some other app managing the media files can deal with jellyfins files by running under a different user but the same “media” group.
As long as you set their umasks to allow group access they will then always be able to pass files and directeries between them.
I’ve no experience with ACLs. I’ve used SMB, and SSHFS to a lesser extent, and always with very simple setups.
My user accessing my own users files via SMB, and ssh only via the admin user and as such with root level access.
But generally, unix-style permissions should allow you to be able to set things up in whatever way you might need. Getting there can be complex, but there is always a way to configure what permissions directories and files will have when created, and hence what users/groups can access them.
Also, sometimes the answer is to edit the groups. Such as adding a user being used to access a share to the relevant groups, instead of messing with owners or groups of existing files and directories.
Or, creating a whole new group (like “pictures” for your camera roll thing) which you add all the relevant users to (yourself, and whatever apps will be accessing the relevant directories). Plus then configure umasks so that files actually default to allowing group level access.
…
You’re saying people will steal because they can? Do you?
Are we talking about the poor, or the billionares finding every possible loophole on taxes and regulation?
Small/Societal theft is not exactly hard to get away with. It’s a lot easier than most professions, but then a lot of engineers and scientists don’t get into the business for the money. People do difficult things for the hell of it, as long as they arent punished for it, and sometimes even if they are. Nature takes the path of least resistance? Fucking really?
The reason surveillance is increasing, is because the NEED to steal, is increasing. And hence spending more to prevent it is making more sense.
Food isn’t optional. If you decrease wages, theft goes up. No matter how hard you police it.
Your area doesn’t need to lock things up because the amount of theft is too small to be worth spending on to prevent. That is as it should be.
If the police in your area is wasting their time on catching grocery thieves, you’re already spending your taxes wrong.
MentalEdge@sopuli.xyzOPto
Anime and Pics@reddthat.com•Tarou'S Kicks Vol.1 (by Tarou2)English
3·2 days agoI don’t think anyone should hold that opinion.
It is not possible to be certain of something like that on a global scale. There is no such thing as a universal human truth that will always be, no matter what society provides the context.
I approve of ACAB in the way it argues that a problem that has become systemic, cannot be fixed by the system itself.
That doesn’t mean good systems do not or cannot exist.
Your final sentence suggests that you’re the type of person who thinks benevolent force does not exist, when in fact examples of it are plentyful.
MentalEdge@sopuli.xyzOPto
Anime and Pics@reddthat.com•Tarou'S Kicks Vol.1 (by Tarou2)English
2·2 days agoInternationally?
Now I don’t actually know about Germany, but there isn’t much I would change about the police here in Finland.
Ah yes.
Mymble.
The giver of good love advice.
Waves at her with both hands.
She waves back with both hands. 😱
MentalEdge@sopuli.xyzto
Arkisuomi@sopuli.xyz•Missä menee nistipadan ja pastaruoan raja?suomi
4·4 days agoMiksei nistipata olisi pastaruoka jo ennestään?
MentalEdge@sopuli.xyzto
Ye Power Trippin' Bastards@lemmy.dbzer0.com•Tesseract dev injects malicious code into browser to illegally DDOS the dbzer0 instance
9·4 days agoYou’re whataboutisming along the lines of “you should think about you’ve done first” to people who probably aren’t even the ones who did the things you’re bringing up.
You’re not commenting to add that people were dicks to the tesseract dev, too.
You’re commenting that people were dicks to the tesseract dev first, and pushing everything that putting it that way implies.
MentalEdge@sopuli.xyzto
Ye Power Trippin' Bastards@lemmy.dbzer0.com•Tesseract dev injects malicious code into browser to illegally DDOS the dbzer0 instance
171·4 days ago“Lemmy users” is pretty vague.
Unless you are accusing the specific users you’re replying to of the crimes you’re bringing up, what’s the point of responding to them?
I didn’t do any of the things you’re bringing up. Why would a response asking “lemmy users too look at themselves” be relevant to me?
You can do with linux, what you are already doing with W10.
The switch will be a lot of work, but keeping it working doesn’t have to be.
I don’t have my system set to auto-update. That way, if it worked yesterday, nothing that might change that will have happened since.
Once you have your install working how you want, nothing has to change. Linux doesn’t force updates on you, and if you don’t stay connected to the internet, you don’t need to worry about security vulnerabilities needing updates that fix them, either.
Even better, with filesystem snapshots (which you can set up using timeshift if on btrfs), if you do update and run into issues, you can go back to exactly the way the operating system was before the update. Or weeks and even months earlier.
This way, I don’t need to tweak and fix my system. If an update breaks something, I don’t fix it. I hit undo. And if I just want to get to gaming, I just skip updating that evening.
Update when and if you feel like it.
I just want to load my games and play and not have to fiddle with compatibility or making it work.
Depending on what you play, that is pretty much how it works today. Install steam/heroic. Log in. Download games. Hit the play button.
No-one is claiming linux is perfect.
What I do have a problem with is the idea that we should all act like it will explode in our faces.
For the vast majority of users it won’t.
MentalEdge@sopuli.xyzOPMto
Helltaker@sopuli.xyz•Cheerleader Beelzebub (by Gaak11977)English
2·4 days agoIt staggers them deliberately. This is a cross-post from thiccmoe.
More visibility per community that way.
MentalEdge@sopuli.xyzto
Games@lemmy.world•I'm A Game Dev Who Got Layed Off From His Non-Game Dev JobEnglish
26·5 days agoYou may want to try to deliberately get away from the “unreal fivey” look.
I like the underlying style but the strong reflections and resulting high contrast image really hits that “unreal five” look in a bad way, which I suspect will turn a lot of people off.
It’s unfortunate but “indie unreal five game” is the new “steam asset flip”, in that it is something that makes people skip a game. It’s easy to slap realistic lightning into games now, so it has stopped being an indicator of quality, and slowly become the opposite.
Try to find something that works with the games style that you can do to the shading or post processing that sets you apart.
I might mute reflections a bit and add at least some grime and imperfections to surfaces. The cleanliness of surfaces together with unreals realistic lighting is a big part of the “indie unreal five” look.
Moderates
Linux@sopuli.xyz
MurderMoe@lemmy.world
FitMoe@lemmy.world
Helltaker@sopuli.xyz
Overlord@sopuli.xyz
CyberMoe
Video Game Art@sopuli.xyz
FangMoe
StreetMoe
MidriffMoe
KemonoMoe
Bocchi the Rock!@sopuli.xyz
Anime Art
VTuber Clips and Videos
OfficeMoe
ThiccMoe
Kill La Kill@lemmy.world
Dungeon Meshi
MeganeMoe
Touhou Art
GothMoe
MilitaryMoe
MorphMoe
BallisticNG@sopuli.xyz
Deadlock @sopuli.xyz
SmolMoe
Moomin Valley@sopuli.xyz
Remedy Entertainment@sopuli.xyz







I like it.
Been missing some separation between serious and “literally my first time on this hero” matches.