Re: Hard linked files cannot be modified
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