Help can't login!

Bahn, Nathan nathan.bahn at gmail.com
Sun Sep 15 23:11:28 UTC 2013


On Sun, Sep 15, 2013 at 6:51 PM, Pete Smout <smoutpete at gmail.com> wrote:
> Right I've been thinking along the same lines as earlier, and thought to
chown my whole home directory to pete:pete to make sure that there's no
sneaky file with the wrong permissions snuck into it!
>
> Welcome to Ubuntu 13.04 (GNU/Linux 3.8.0-30-generic i686)
>
> * Documentation:  https://help.ubuntu.com/
>
> 0 packages can be updated.
> 0 updates are security updates.
>
> Last login: Sun Sep 15 22:58:51 2013
> You will be reincarnated as a toad; and you will be much happier.
>
> pete at petes-lappy:~$ sudo chown -R pete:pete
> [sudo] password for pete:
> chown: missing operand after ‘pete:pete’
> Try 'chown --help' for more information.
> pete at petes-lappy:~$
>
> What am I doing wrong?
>
> Thanks
>
> Pete



The info page provides 3 examples:
     # Change the owner of /u to "root".
     chown root /u

     # Likewise, but also change its group to "staff".
     chown root:staff /u

     # Change the owner of /u and subfiles to "root".
     chown -hR root /u

I think that you need to provide a directory ("/u", in the above examples)
at the end of the line.
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html ,
http://www.libreoffice.org/ &
http://www.fsf.org/campaigns/opendocument(Nathan Bahn)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130915/4efea870/attachment.html>


More information about the ubuntu-users mailing list