Dear list,

I am trying to create a folder structure, say 'test/sub', and set the
folder and sub folder to be writable to everyone.

By default

dir.create('test/sub', recursive=TRUE, mode='0777')

creates folders with mode: drwxr-xr-x

After

Sys.chmod('test/sub',mode='0777')

The folder 'test' is: drwxr-xr-x
and the sub folder 'sub' is: drwxrwxrwx

The question is how to generate a folder and sub folders, with every
folder being drwxrwxrwx ?

I am using a linux/redhat system.

Thank you for your help.
Xian

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to