229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
|
Blob content;
blob_read_link(&content, zFrom);
symlink_create(blob_str(&content), zTo);
blob_reset(&content);
}
#ifdef __CYGWIN__
/* Workaround for recently introduced Cygwin bug: group execute */
/* permission is always set, so it cannot be relied upon! */
# undef S_IXGRP
# define S_IXGRP 0
#endif
/*
** Return file permissions (normal, executable, or symlink):
** - PERM_EXE if file is executable;
|
|
|
>
>
|
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
Blob content;
blob_read_link(&content, zFrom);
symlink_create(blob_str(&content), zTo);
blob_reset(&content);
}
#ifdef __CYGWIN__
/* On Cygwin (and possibly other IEEE 1003.1 ("POSIX.1") compliant systems)
** the group permission cannot be relied upon for security reasons. See:
** https://cygwin.com/faq/faq.html#faq.using.ssh-pubkey-stops-working
*/
# undef S_IXGRP
# define S_IXGRP 0
#endif
/*
** Return file permissions (normal, executable, or symlink):
** - PERM_EXE if file is executable;
|