Date: Fri, 21 Jun 2002 16:49:49 +0200 From: Ruben de Groot <fbsd-q@bzerk.org> To: Peter Ulrich Kruppa <root@pukruppa.de> Cc: Alexander V Zubchenko <stalker@hermes-comp.zp.ua>, freebsd-questions@FreeBSD.ORG Subject: Re: Change modes of a symbolic link? Message-ID: <20020621164949.A28975@ei.bzerk.org> In-Reply-To: <20020621161129.C61592-100000@small.pukruppa.de>; from root@pukruppa.de on Fri, Jun 21, 2002 at 04:14:56PM %2B0000 References: <20020621104005.C21649-100000@server.hermes-comp.zp.ua> <20020621161129.C61592-100000@small.pukruppa.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621164949.A28975>