Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FSGetCatalogInfo & userPrivileges



Hi,

I'm having problems getting a reliable kioACUserNoMakeChangesMask indication
from FSGetCatalogInfo.

When I check my access rights to /System/Library/Perl/darwin/Socket.pm,
kioACUserNoMakeChangesMask is correctly set. However, when I check
/Library/Perl/Net/FTP.pm (installed by CPAN with sudo), I don't get the
kioACUserNoMakeChangesMask mask set even though if I later try to write to
this file, I am denied access.

% ls -al /Library/Perl/Net/FTP.pm
-r--r--r-- 1 root admin 40967 Sep 23 2002 FTP.pm

My account is in the admin group, but as the ls command shows I still only
have read access to the file. What do I have to do to get FSGetCatalogInfo
to return correct info?

I'm running 10.2.6.

Cheers
-Mark

---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
AIM: markalldritt
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.