[05 Feb 2010] Mac OS Protection Flags

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
PEB
Posts: 592
Joined: Sun Feb 21, 2010 1:28 am

[05 Feb 2010] Mac OS Protection Flags

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 05 Feb 2010 18:41:26 -0000

Hi Andreas,

I'm trying to make a Mac version of a program that reads some text from a file, and I'm wondering what kind of protection flags I should set for that file. The file is a basic text file, but it does not need to be accessed by itself (though my program will read it). In addition to the user "read," "write," and "execute" flags, I noticed in the Hollywood documentation that the following flags can also be used:

Code: Select all

#FILEATTR_READ_GRP
#FILEATTR_WRITE_GRP
#FILEATTR_EXECUTE_GRP
#FILEATTR_READ_OTH
#FILEATTR_WRITE_OTH
#FILEATTR_EXECUTE_OTH
So I guess my question is, what do "GRP" and "OTH" stand for?

Thanks.
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

[05 Feb 2010] Re: Mac OS Protection Flags

Post by SamuraiCrow »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 5 Feb 2010 10:52:28 -0800 (PST)

Hello rev,

Since MacOSX is based on UNIX, the GRP stands for group and OTH stands for other (meaning everybody).

--Sam
I'm on registered MorphOS using FlowStudio.
PEB
Posts: 592
Joined: Sun Feb 21, 2010 1:28 am

[05 Feb 2010] Re: Mac OS Protection Flags

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 5 Feb 2010 11:29:56 -0800 (PST)

Thanks!
Locked