• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hard linked files cannot be modified
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hard linked files cannot be modified


  • Subject: Re: Hard linked files cannot be modified
  • From: Alberto Ricart <email@hidden>
  • Date: Wed, 16 Nov 2005 09:30:57 -0600

Check your permissions. When you hard link a file you are simply referencing the same inode from a different file name. Creating a link doesn't change permissions etc. Also a hard link cannot span volumes.

[minime:~/test] aricart% touch one
[minime:~/test] aricart% ln one two
[minime:~/test] aricart% ls -lgi
total 0
2883337 -rw-r--r--   2 501  0 Nov 16 09:25 one
2883337 -rw-r--r--   2 501  0 Nov 16 09:25 two
[minime:~/test] aricart% pico two
[minime:~/test] aricart% more one
this is a test
[minime:~/test] aricart% more two
this is a test
[minime:~/test] aricart% ls -lgi
total 16
2883337 -rw-r--r--   2 501  15 Nov 16 09:26 one
2883337 -rw-r--r--   2 501  15 Nov 16 09:26 two
[minime:~/test] aricart%


/a

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Hard linked files cannot be modified
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Making a custom tabbed view control. Need suggestions.
  • Next by Date: Re: making a key depend on keypaths of self
  • Previous by thread: Re: Hard linked files cannot be modified
  • Next by thread: Re: Hard linked files cannot be modified
  • Index(es):
    • Date
    • Thread