General
cancel
Showing results for 
Search instead for 
Did you mean: 

How read file permission / Ownership in NT

Ashok Loganathan
Occasional Visitor

How read file permission / Ownership in NT

I need a common perl script that will display Ownership and permission of a file both in Linux & NT.

Timely help will be appreciated


1 REPLY
Steven E. Protter
Exalted Contributor

Re: How read file permission / Ownership in NT

Shalom Ashok,

The perl or shell script will use an ls command in either case.

What is displayed or captured depends a bit on how the mount was done. e.g. samba or nfs.

Also importtant is which OS the perl script will be running on. Linux, NT or both.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com