delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/18/06:36:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38FC3A26.228D9C57@sophia.8x8.com>
Date: Tue, 18 Apr 2000 13:34:14 +0300
From: Jeremey Fischer <jeremy AT Sophia DOT 8x8 DOT COM>
Organization: Netergy Networks
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: broken 'ln' behavior

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 AT gnu DOT ai DOT mit DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019