hi

'man mount', regarding FAT mounts , explains the 'quiet' flag as follows:

       quiet  Turn on the quiet flag.  Attempts to chown or chmod files do not
              return errors, although they fail. Use with caution!

I gave it a try: it seems that 'chown' works as documented: 
when 'quiet' is not set, indeed 

# chown D /media/usbdisk/promemoria.pdf ; echo $?
chown: changing ownership of `/media/usbdisk/promemoria.pdf': Operation not 
permitted
1

But 'chmod' does never return an error on VFAT filesystem, 
(in all the way that I tried it);
so maybe a small change in documentation may be useful; something as

       quiet  Turn on the quiet flag.  Attempts to chown files do not
              return errors, although they fail. Use with caution!

              Beware that, in general, 'chmod' will not return errors on VFAT,
              but will mostly fail to do what you expect it to do, due to 
limitations 
              in the filesystem.


a.

-- 
Andrea Mennucc

"The EULA sounds like it was written by a team of lawyers who want to tell 
me what I can't do, and the GPL sounds like it was written by a human 
being who wants me to know what I can do."
Anonymous,    http://www.securityfocus.com/columnists/420


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to