[Klug-general] copying a symlink to other users

David Halliday david.halliday at gmail.com
Fri Nov 5 11:55:54 UTC 2010


I'm guessing to try something with the owner of the symlink,
otherwise the permissions of modification are down to the file.

Failing that, try a chmod on the symlink

On 5 November 2010 11:52, Evan Ingram <evan.ingram at cariss.co.uk> wrote:

> On Fri, 2010-11-05 at 10:46 +0000, Mike Evans wrote:
> > Yup - unless you tell it not to.  Have a look at the man page for cp.  I
> > suspect that the -d or -P command line flag might help.
> >
>
> -d seems to do the trick.
>
> next problem; i'd like to make it so that users cannot modify the
> symlink or delete it. is this possible as symlinks just seem to be 777
> and/or pick up the permissions of the directory they are linked to.
>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101105/71599a51/attachment.htm>


More information about the Kent mailing list