this post was submitted on 08 Mar 2025
13 points (93.3% liked)

Asklemmy

45884 readers
1042 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I am making a Public repo for the first time. It's not mutch , just a script to setup a podman container. But i am afraid of people messing up their devices and blaming me 😅. Do you guys think i should put a disclaimer in the main page of the repo? If yes, what kind of disclaimer should i use? I've never really dived into the legal side of things.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 1 day ago (1 children)

I think you should do more then just add a disclaimer. You should add a proper license. It protects you and allows others to build upon your work in a predictable way.

That and licenses are legally battle hardened and proven. A self written disclaimer is not.

I would recommend licensing your scripts under the GPL. This lets other people use it with the understanding that if they improve it they have to let others use the improvements too.

That and it protects you like you want. Particularly section 15 and 16.

  1. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  1. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Alternatively you could use the MIT or BSD licenses, but they don’t have the “share alike” clause, so I tend not to recommend them.

https://www.gnu.org/licenses/gpl-3.0.en.html

[–] [email protected] 9 points 1 day ago (1 children)

While it feels a bit overkill for what is essentially 60 lines of bash, i think it's the best option. As you have already said, they have been thoroughly battle tested, so there shouldn't be any problems. So yes, most likely i'll go with this.

Thanks mate.

[–] [email protected] 7 points 17 hours ago

You don't know if those 60 lines of bash are worth something to corporate america. Any code we write has value, how much value is rarely up to us.

A few months ago we had a guy playing a side project he did where he used a model to replace clothing on people so you could try something on and see how you looked. I begged him to add a license to his repo, and he still hasn't, because "it's just a bit of python". Like dude you don't see it but you just game Nordstrom or Macy's millions of dollars for free man! Guy didn't see it.

So yeah. Maybe it's just a helper script. Who cares. Adding the license is free and takes seconds, and who knows, maybe you solve a million dollar problem.

[–] [email protected] 8 points 1 day ago (1 children)
[–] [email protected] 3 points 1 day ago (1 children)

Do you have any example i can base myself off of? I genuinely have no clue in what to include.

[–] [email protected] 6 points 1 day ago (1 children)

just say primarily you are not responsible if something goes wrong as it's your script untested on multiple devices.

that being said if you code it terribly and it wipes the users drive then it is on you legally binding.

[–] [email protected] 3 points 1 day ago

Thanks. I know that my code is bad, but it shouldn't be THAT bad. The reason why i am worried is because to use the program, the user needs to change a the UMA framebuffer size. And i am afraid of people changing for ex. The cpu voltage offset and nuking their device. All the program does in of itself should be fixable by just deleting the container. So i am not worried about it that mutch.

[–] [email protected] 3 points 1 day ago

Yes, include a disclaimer and consider using the Peer Production License as well, which compells for-profit, non-cooperative developers to compensate you for using your work.