chown chmod

Toby Peterson toby at apple.com
Mon Jun 8 15:53:19 PDT 2009


On Jun 8, 2009, at 3:47 PM, Bradley Giesbrecht wrote:

> What is the macports way to change owner and permissions of files,  
> like log files for example?
>
> Is there something in TCL or do we just use system commands?

chown: file attributes -owner ...
chmod: file attributes -permissions ...

see 'man n file'

- Toby


More information about the macports-dev mailing list