RE: os.access(file, os.R_OK) on UNIX and WINDOWS

2006-09-13 Thread Tim Golden
[kai rosenthal] | on UNIX I changed the permission of a file "myfile" with chmod 000 | myfile. Then I got 0 from os.access(myfile, os.R_OK). This is ok. | | Then I checked the same file on WINDOWS (with samba): | I got "True" from os.access(myfile, os.R_OK). I think it is not ok?! Ummm. This is

os.access(file, os.R_OK) on UNIX and WINDOWS

2006-09-13 Thread kai rosenthal
Hello, on UNIX I changed the permission of a file "myfile" with chmod 000 myfile. Then I got 0 from os.access(myfile, os.R_OK). This is ok. Then I checked the same file on WINDOWS (with samba): I got "True" from os.access(myfile, os.R_OK). I think it is not ok?! In my python script I check the r