Re: mdsl source & another metadata question
Re: mdsl source & another metadata question
- Subject: Re: mdsl source & another metadata question
- From: Steve Checkoway <email@hidden>
- Date: Mon, 14 Aug 2006 16:28:27 -0700
Anton Altaparmakov wrote:
On Mon, 14 Aug 2006, Jeffrey Ellis wrote:
My output from stat looks very different from yours. Here's what I'm
getting:
His output looks like Linux output. You can get something simillar in OSX
using the -x switch, i.e. "stat -x ls" and "stat -xL ls". Note you still
only see "ls" and never "/bin/ls" in OSX but you are told different inode
numbers and the file type is "Regular File" and "Symbolic Link" in the
other.
It was done in OS X. I just get annoyed having bsd utilities mixed in
with the gnu utilities which generally have more functionality.
$ ln -s /bin/ls .
$ stat ls
234881059 923574 lrwxr-xr-x 1 jeffrey jeffrey 0 7 "Aug 14 13:52:58 2006"
"Aug 14 13:52:58 2006" "Aug 14 13:52:58 2006" 4096 8 0 ls
$ stat -L ls
234881059 612750 -r-xr-xr-x 1 root wheel 0 32460 "Aug 10 14:57:01 2006" "Mar
21 14:49:19 2005" "Jun 26 03:33:30 2006" 4096 64 0 ls
You're not doing anything wrong. As you can see, you are the owner of
the symlink whereas root is the owner of the actual binary.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden