[fpc-pascal]question about FileGetAttr
    milimeter 
    milimeter at 163.com
       
    Wed Jul 10 15:30:55 CEST 2002
    
    
  
Hello, Everyone
  under /usr/local/, I have a file of information:
  -rw-r--r-- root root aaa.dat
  so the file belongs to root, and can be read by any user.
  Then I try to test the file use another user: milimeter as following
    writeln('File Attr: ',FileGetAttr('aaa.dat'));
  then I get 32, it means it is writable. But actually, it's readonly for user milimeter. Why this result? A bug?
  Thanks for your help.
  Yours,
  mili
    
    
More information about the fpc-pascal
mailing list