Where exactly do symbolic links created with symlink() get their
permissions? The lstat man page says it is from the parent folder,
yet when actually creating a symlink in practice, they have neither
the permissions of the target nor the parent directory. The
symlink(7) man page mentions lchmod() but that function doesn't seem
to be a part of OS X.
The permissions seem to be the umask permissions for newly-created directories.
How can we ensure that relative symbolic links we create are able to
be followed?
It shouldn't matter. It's the permissions on the target, not the
permissions on the link, that limit what you can do with the target.
--
Mark Wagner
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden