[Rd] chown, chgrp?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Aug 16 18:37:02 CEST 2012
On 15/08/2012 18:38, peter dalgaard wrote:
> On Aug 15, 2012, at 17:56 , Barry Rowlingson wrote:
>> On Wed, Aug 15, 2012 at 2:47 PM, Simon Urbanek
>> <simon.urbanek at r-project.org> wrote:
>>> ... and moreover with the increasing adoption of ACL on unix and non-existence of uid/gid on Windows this is more an archaic curiosity so I don't think it makes sense to add it at this point.
>> It does however raise the question, "What is Hadley up to now?" :)
> Aiming for the fortune file again, Barry?
> Anyways, since it is not portable anyway, what was ever wrong with
> system(sprintf("chown %s %s", foo, bar)
Yes, that is the point. I added Sys.chmod because R's own scripts needed
something portable (both to Windows, and later in the handling of umask
where POSIX allows some wiggle room). We've never needed chown/chgrp.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel