[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [RaQ3] Using chown in Perl scripts
- Subject: RE: [cobalt-users] [RaQ3] Using chown in Perl scripts
- From: "Robert Fitzpatrick" <robert@xxxxxxxxxxx>
- Date: Sun Jan 20 19:23:08 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Try it thus
>
> chown user.group dir/
> or
> chown uid:gid dir/
>
> example:
> # touch foo
> # ls -l foo
> -rw-r--r-- 1 root root 440 Jan 20 19:40 foo
> # chown 1:2 foo
> # ls -l foo
> -rw-r--r-- 1 bin daemon 440 Jan 20 19:40 foo
Works fine from a telnet/ssh prompt, like you've done here AND I
showed in my previous post. But I'm talking about using chown within a
Perl script. Are you successful at that? Read the post more carefully.