This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
broken 'ln' behavior
- To: cygwin at sourceware dot cygnus dot com
- Subject: broken 'ln' behavior
- From: Jeremey Fischer <jeremy at Sophia dot 8x8 dot COM>
- Date: Tue, 18 Apr 2000 13:34:14 +0300
- Organization: Netergy Networks
Put simply, I cant make a hard link between directories.
//c>ln --help
Usage: ln [OPTION]... SOURCE [DEST]
or: ln [OPTION]... SOURCE... DIRECTORY
Link SOURCE to DEST (. by default), or multiple SOURCE(s) to DIRECTORY.
Makes hard links by default, symbolic links with -s.
-b, --backup make backups for removed files
-d, -F, --directory hard link directories (super-user only)
-f, --force remove existing destinations
-n, --no-dereference treat destination that is a symlink to a
directory as if it were a normal file
-i, --interactive prompt whether to remove destinations
-s, --symbolic make symbolic links instead of hard links
-S, --suffix=SUFFIX override the usual backup suffix
-v, --verbose print name of each file before linking
-V, --version-control=WORD override the usual version control
--help display this help and exit
--version output version information and exit
The backup suffix is ~, unless set with SIMPLE_BACKUP_SUFFIX. The
version control may be set with VERSION_CONTROL, values are:
t, numbered make numbered backups
nil, existing numbered if numbered backups exist, simple otherwise
never, simple always make simple backups
Report bugs to fileutils-bugs@gnu.ai.mit.edu
//c>whoami
root
//c>mkdir real
//c>ln -F real copy
ln: cannot create hard link `copy' to `real': Permission denied
help!?!!!!!
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com