Mailing List Archive

Support open source code!


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

Re: chown question



Jc,

Oops, I shouldn't have answered so quickly. 

chown is interpreting the dot as a user.group specification. 

Using a colon and a group might work. 

Or you could write a simple C program that calls the chown system
call directly. 

I think this may be a  
"Doctor, it hurts when I do this. Don't do that." type situation.

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/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links