This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Okay, I need to step back here.  I'm not really working in a *NIX
environment.  I want to be able to manipulate the attributes to maintain
Windows compatibility.  The attributes I'm talking about are the ones you
see when you do a WRKLNK and then choose option 8 (Display attributes):

Hidden file  . . . . . . . . . . . . . :   No
PC system file . . . . . . . . . . . . :   No
Read only  . . . . . . . . . . . . . . :   No

Need to archive (PC) . . . . . . . . . :   Yes

It's sounding like the Qp0lSetAttr API is the only way to change these
attributes.

Dave

-----Original Message-----
From: Goodbar, Loyd (AFS-Water Valley) [mailto:LGoodbar@afs.bwauto.com]
Sent: Thursday, January 03, 2002 9:35 AM
To: 'midrange-l@midrange.com'
Subject: RE: Qp0lSetAttr()--Set Attributes


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
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.