file: A compact file library

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: file: A compact file library

Post by Robin »

zac352 wrote:So you're saying that if I run "sudo gedit /some/locked/file", then open another tab and run "love somegame.love", io.open can open /some/locked/file? I don't think so.
No... I mean the current user from the application's perspective. Which on some ancient system (*cough* Windows XP *cough*) means every god-damn file. But on Vanilla LÖVE, even on Unix, even when not running it as root, it still has every oppertunity to mess up your home dir, which it hasn't in SELÖVE.
Help us help you: attach a .love.
User avatar
ZenX2
Citizen
Posts: 89
Joined: Wed Nov 17, 2010 5:35 am

Re: file: A compact file library

Post by ZenX2 »

Just for clarification, this should not be included in a game. It should only be used if you are testing something and can't be bothered to get the console open and print things to it and all that, or want to quickly save some text.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: file: A compact file library

Post by TechnoCat »

zac352 wrote:So you're saying that if I run "sudo gedit /some/locked/file", then open another tab and run "love somegame.love", io.open can open /some/locked/file? I don't think so.
and if you run "sudo love", then yeah it can modify /some/locked/file.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests