The attributes you mention, read-only, archive, hidden, and system, are
unique to DOS and Windows environments. There is no equivalent in *NIX
environments. How this is handled is dependant on the mechanism Windows &
*NIX systems (the IFS is a *NIX equivalent file system) use to communicate.
For example, when using Samba, the DOS attributes are mapped thus:

owner group world
RWX   RWX   RWX

Owner RW = read-only
Owner X = Archive?
Group X = System?
World X = Hidden?

R = read, W = write, X = execute

(source: <http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html>)

Why do you need to manipulate these? Is it to maintain Windows
compatibility?

HTH,
Loyd


-----Original Message-----
From: Leland, David [mailto:dleland@Harter.com]
Sent: Thursday, January 03, 2002 7:56 AM
To: 'midrange-l@midrange.com'
Subject: RE: Qp0lSetAttr()--Set Attributes

[ Picked text/plain from multipart/alternative ]
I'm not looking for a command to change authorities of IFS files, I'm
looking for a way to change any of the 4 attributes of an IFS file -
"Read-only", "Archive", "Hidden" and "System".  Just like the DOS ATTRIB
command or the Qp0lSetAttr API let you do.  And I need to be able to do this
in a batch job (not thru Client Access or Operations Navigator).

Dave


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.