darkone
05-17-2003, 09:33 PM
Sample program available at:
http://www.ioftpd.com/~darkone/tmp/DataCopy.cpp
http://www.ioftpd.com/~darkone/tmp/DataCopy.h
1. Reads file's/directory's VFS attributes
2. Writes new attributes (new owner)
3. Resolves user id to user name
4. Resolves group id to group name
5. Opens userfile, locks it & modifies credits
6. Spits out mad ascii :p
http://www.ioftpd.com/~darkone/tmp/DataCopy.cpp
http://www.ioftpd.com/~darkone/tmp/DataCopy.h
1. Reads file's/directory's VFS attributes
2. Writes new attributes (new owner)
3. Resolves user id to user name
4. Resolves group id to group name
5. Opens userfile, locks it & modifies credits
6. Spits out mad ascii :p