Can't set permission on FileInputStream?


#1

There’s no way to specify permissions on a FileInputStream? For example…shared read, no write?


#2

No… it’s strange really - it sounds like an important feature, but I’ve never needed it myself, and in all the years that the class has existed, nobody else has ever asked for it either, or I’d have added it. It’s probably quite a simple thing to add.


#3

I just don’t want users editing id3 tags through their media player while I’m seeking back and forth in the same file.


#4

Bad example, since ID3 tags are located after the end of the data, so modifying them doesn’t touch the music data frame themselves.