#include "op_chmod.h" /* self */
#include "main.h"
#include "gnomevfsresult.h"
+#include "utf8.h"
int op_chmod(const char *path,mode_t mode)
&& !S_ISDIR(mode))
return -EPERM;
+ path=CAPFUSE_FILENAME_TO_UTF8_ALLOCA(path);
+
/* Do not: GNOME_VFS_OPEN_WRITE
* as we would get EPERM for setting back: chmod u+w
*/