Hello, I have a problem with Shell Script, with the "tail -1" function.
The resulting variable is the filename followed by "permission denied".
I checked the permissions and turned everything on.
I noticed that miui, however, allows access only to multimedia files, I had proof of this by...