[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to change ownership on all files in a folder
- From: Jeff Vian <jvian10 charter net>
- To: hawat thufir gmail com, For users of Fedora Core releases <fedora-list redhat com>
- Cc:
- Subject: Re: how to change ownership on all files in a folder
- Date: Thu, 07 Apr 2005 07:28:24 -0500
On Thu, 2005-04-07 at 12:00 +0200, thufir wrote:
> >
> > "Bryan M. Johns" wrote:
> > use the following as root at a shell from the directory above your
> > target directory (eg - example):
> >
> > chown -R user:user example
> >
> > *Bryan M. Johns*
> >
> >
> >
> > Claude Jones wrote:
> >
> >
> > > Pardon if this is too basic. Is there a way to change ownership for
> > > all files in a folder? I want to change from root to user.
> > >
> > >
> >
>
>
>
> copying a directory of files from the cd to /home/thufir creates a ton of locked files with root ownership. Whether this makes sense, dunno, but it can be inconvenient.
>
> do people recursively go through these files, or is there an alternate solution?
>
one command "chown".
if just for the current directory -- "chown user:group * "
if for a directory and ALL files and directories under it
"chown -R user:group /path/to/dir
man chown for full details.
>
> thanks,
>
> Thufir
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]