chmod和fchmod函数 /chown ,fchown,lchown函数
摘要:
这两个函数使我们可以更改现有文件的访问权限:#include int chmod( const char *pathname, mode_t mode );int fchmod( int filedes, mode_t mode );两个函数返回值:若成功则返回0,若出错则返回-1chmod函数在指... 阅读全文
posted @ 2014-10-15 17:34 guojiu 阅读(632) 评论(0) 推荐(0) 编辑