Gossamer Forum
Quote Reply
Files
Hmm how/where are file permissions and last modified times stored?

I've often wondered.
Quote Reply
Re: [RedRum] Files In reply to
Are you talking about any paticular operating system or kernal inperticular? What system are you on?

On a *ix system the information often resides in a satic inode on the disk.

- wil

Last edited by:

Wil: Jan 14, 2002, 12:21 PM
Quote Reply
Re: [Wil] Files In reply to
>>On a *ix system the information often resides in a satic inode on the disk. <<

So how can you transfer files from one server to another keeping permissions.
Quote Reply
Re: [RedRum] Files In reply to
How should I know?! Do some searching. There's plenty of refernece on google.com

- wil
Quote Reply
Re: [Wil] Files In reply to
>>How should I know?! <<

Well don't bother answering then Cool
Quote Reply
Re: [RedRum] Files In reply to
If you bind by your theory then maybe you should log out and delete your account ;-)

- wil
Quote Reply
Re: [Wil] Files In reply to
Gimme a nudge when you have something remotely interesting or related to the subject to say...
Quote Reply
Re: [RedRum] Files In reply to
OK. If you really can't even do the simplest of things.... here goes:

http://www.google.com/...p;btnG=Google+Search

- wil
Quote Reply
Re: [Wil] Files In reply to
Why thankyou kind sir.

Next time, if you can't reply with manners then don't.

Hmm you are beginning to remind me of someone.

Last edited by:

RedRum: Jan 14, 2002, 1:44 PM
Quote Reply
Re: [RedRum] Files In reply to
I have no idea where that stuff is stored, but you can access it with the Perl stat() funtion. Look in perlfunc about 3/4 the way down.

--Philip
Links 2.0 moderator
Quote Reply
Re: [ThatPerson1024] Files In reply to
Yep I know about stat (although it craps out on Windows)....just always wondered where it was all stored. I always thought it was kept somewhere in the file itself...hmm

Last edited by:

RedRum: Jan 14, 2002, 2:52 PM
Quote Reply
Re: [RedRum] Files In reply to
what do you mean it craps out on windows? I'm using it.

--Philip
Links 2.0 moderator
Quote Reply
Re: [ThatPerson1024] Files In reply to
It always prints nothing for me.
Quote Reply
Re: [RedRum] Files In reply to
huh... well I'm on win2k and it works just fine for me...

I ran this:
Code:
my $file = "Globals.pm";
print "$_\n", foreach (stat($file));

and got this:
Code:
2
0
33206
1
0
0
2
693
1010725200
1010695774
1010656818

perhaps you are doing @{stat($file)}?

--Philip
Links 2.0 moderator