Dear List, When I use "access" function to find out if the folder exist in rsync code. I found that it's will NOT act as normal function.
I have tried 2 test: a) embedded in rsync function "int recv_files(int f_in, char *local_name)" and hard coded with following line. access("/home/admin/test",F_OK) Result: Failed with -1, just mean the test folder is NOT existed, but it does exist. b) simple "hello world program" OK. Result: return 0, folder exist. Right now, I can't figure out what's wrong. Can anyone give a tip? Thanks in advance. -- Daniel -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html