Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chown question



You do mean that he has to specify the group as well, dont you?

This should work fine as well what Jonathan suggested:

        chown -R okubo.yoshiko:okubo.yoshiko top40

I am assuming that the group okubo.yoshiko exists.

asz


Jake Morrison wrote:

> Use a colon instead of a dot to separate the user and group.
>
> Jake
>
> --- Jean-Christian Imbeault <jean_christian@example.com> wrote:
> > I'm trying to do a chown on a set of files but it keeps complaining
> > "invalid
> > user" ... strangely enough I was able to do a chgrp with all the same
> >
> > arguments. I'm assuming it's because the name has a "." in it ...
> >
> > Can anyone offer suggestion on how I might get this command to
> > co-operate?
> >
> > [root]# chown -R okubo.yoshiko top40
> > chown: okubo.yoshiko: invalid user
> >
> > But a cat of /etc/passwd show that there is such user ...
> >
> > [root]# cat /etc/passwd | grep yoshiko
> > okubo.yoshiko:x:507:507::/home/okubo.yoshiko:/bin/bash
> >
> > Thanks!
> >
> > Jc
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
> >
> -----------------------------------------------------------------------
> > Next Nomikai Meeting:    Fri, June 15 19:30-  Tengu Tokyo Eki-Mae
> > Next Technical Meeting:  Sat, July 14 13:30-
> >
> -----------------------------------------------------------------------
> > more info: http://www.tlug.gr.jp           Sponsor: Global Online
> > Japan
> >
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> -----------------------------------------------------------------------
> Next Nomikai Meeting:    Fri, June 15 19:30-  Tengu Tokyo Eki-Mae
> Next Technical Meeting:  Sat, July 14 13:30-
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links