[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Chown multiple files?
- Subject: Re: [cobalt-users] Chown multiple files?
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Wed Dec 20 17:15:01 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Hi,
>
> I am in the process of converting a client's site from FP to Dreamweaver.
> I have uninstalled the FP extensions, and removed all the FP code from
> the files. I am now ready to FTP all the newly cleaned up files back to
> the Raq, but I am having problems because the ownership of all the files
> is set to HTTPD.
>
> I need to change all the files to ADMIN so I can use FTP. Is there a a
> variation of CHOWN that will let me changes all files owned by HTTPD to
> ADMIN in one command? It is a fairly large site, so I would like to avoid
> changing each file individually.
>
> Thanks
> Greg Boser
Make sure you're in the directory of the files you wish to change ownership
of and:
$ chown -R admin *
(The "R" means recursively chown all files/subdirectories within current
working dir.)
If you also need to change the group owner of the file:
$ chown -R admin. * (user "admin"; group of admin)
or
$ chown -R admin.someuser * (user admin; group somegroup)
--
Brian Curtis