I am developing a file synchronization application in linux using c++. My application should not allow user to open a folder when it is being synced. How can I achieve this? is there any way to use chmod to achieve this?
Asked
Active
Viewed 904 times
1
-
2Possible duplicate of http://stackoverflow.com/questions/8816941/how-can-i-lock-a-directory-in-c-on-a-linux-machine – kfsone Jun 24 '13 at 06:48
-
2Linux doesn't have "folders". Are you using this word because it refers to something different from a directory in the filesystem? – Kaz Jun 24 '13 at 06:48
-
I mean the directory @kaz – Jun 24 '13 at 14:30