In order to find a workaround for a problem I had yesterday (see the question here) I come out with another experiment.
After inserting a flash drive (vfat) and mounting its only partition I wondered: What if I change the permissions on the mount point? Well, that should solve all my problems so I proceed(as root):
At first I tried to change the owner:
root# chown root:root /media/MOUNT_POINT
Note: /media/MOUNT_POINT was created automatically by the system
What a surprise when the command answer was: Operation not permited. What? there is things that are not allowed even being root?
Ok, that don't stopped me and then tried:
root# chown 000 /media/MOUNT_POINT
this time, no messages, but after
ls -l /media
drwx------ 4 miranda miranda 4096 Apr 10 05:41 24EE-9E3C
as you can see, the folder still have all its permissions. I tried all combinations from 000 to 666 (with a script of course) and the result was the same.
What's happening? What I'm missing? or even more important. Can this be done?
Thanks in advance.