From owner-freebsd-questions Fri Jun 21 7:49:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id 30E1437B408 for ; Fri, 21 Jun 2002 07:49:27 -0700 (PDT) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.3/8.12.3) with ESMTP id g5LEnnZj029001; Fri, 21 Jun 2002 16:49:50 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.3/8.12.3/Submit) id g5LEnnkU029000; Fri, 21 Jun 2002 16:49:49 +0200 (CEST) Date: Fri, 21 Jun 2002 16:49:49 +0200 From: Ruben de Groot To: Peter Ulrich Kruppa Cc: Alexander V Zubchenko , freebsd-questions@FreeBSD.ORG Subject: Re: Change modes of a symbolic link? Message-ID: <20020621164949.A28975@ei.bzerk.org> References: <20020621104005.C21649-100000@server.hermes-comp.zp.ua> <20020621161129.C61592-100000@small.pukruppa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020621161129.C61592-100000@small.pukruppa.de>; from root@pukruppa.de on Fri, Jun 21, 2002 at 04:14:56PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 21, 2002 at 04:14:56PM +0000, Peter Ulrich Kruppa typed: > On Fri, 21 Jun 2002, Alexander V Zubchenko wrote: > > > Greetings! > > > > On Fri, 21 Jun 2002, Peter Ulrich Kruppa wrote: > > > > > > > > Hi! > > > > > > I would like to set a symbolic link to lrwxrwxrwx > > > - the way /home is set. > > > How do I do this? As mentioned before, symbolic links don't have modes since they're merely entries in a directory table. If you want a symlink to look like lrwxrwxrwx when you do an ls -l for some reason you can change your umask to 000 before you create it. This will have no effect on your system's behaviour though. > > > > > > Of course I read > > > # man chmod > > > but I don't understand it :-( > > Citate: > > "Symbolic links do not have modes, so unless the -H or -L option is > > set, chmod on a symbolic link always succeed and has no effect. The > > -H, -L and -P options are ignored unless the -R option is specified." > As I told you I read this passage and didn't understand it. > I tried all sorts of > # chmod -R -H 777 ... ... > and checked the rights with > # ls -l > but nothing changed. > > Could you please give me an example? > > Thanks, > > Uli. > > > > > > > > > *-----------------------------------* > > > * Peter Ulrich Kruppa * > > > * - Wuppertal - * > > > * Germany * > > > *-----------------------------------* > > > > > > Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua > > System Administrator, WWW: http://www.hermes-comp.zp.ua/ > > Hermes-comp, > > Ukraine, > > Zaporizhzhya, > > Geroev Stalingrada 50 > > phone/fax: +380 612 64-19-72 > > > > > > > > *-----------------------------------* > * Peter Ulrich Kruppa * > * - Wuppertal - * > * Germany * > *-----------------------------------* > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message