Stephen Liu writes:


--- Sam Varshavchik <[EMAIL PROTECTED]> wrote:

Stephen Liu writes:

> > Re-tried; > > as normal user; > > /usr/local/src$ tar jxf courier-imap-4.4.1.20080920.tar.bz2
> ......
> ......
> tar: courier-imap-4.4.1.20080920/rootcerts: Cannot mkdir: No such
file
> or directory

When you run this as a non-root user, you, of course, must have write

permissions on the current directory.

If you extracted the tarball while root, root owns all the files and subdirectories. So, as a non-root user, you cannot do anything in
there.

Use chown -R to change the ownership of the entire directory tree.


Whether you meant running;

# chown -R user1:user1 /usr/local/src


then the owner and group of /usr will change from root:root to
user1:user1

Correct.

OR just run;
# chown -R user1:root /usr/local/src

This will work too, there won't be any difference, but do the first one.


Attachment: pgpxPv87hFIiM.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to