× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The attributes David is talking about are SOLELY in the DOS/Windows domains.
Systems that wish to use the SMB/CIFS protocol typically try to implement
the system/hidden/archive attributes in the file permissions (in the case of
*NIX). IBM has thoughtfully put the attributes in a separate location than
the *NIX file attributes. This is good, because you don't have the Samba
"kludge" noted in my earlier message. It does make it harder to determine if
a file needs hidden/archive/system. Thus David's question.

A system file is an "arbitrary" Windows determination that the file should
not be shown to users (re. default installation of Windows Explorer) and is
a required file to the OS.

A hidden file is another arbitrary determination that the file owner can
elect to keep hidden from other user's view.

The archive attribute means the file has been changed or created since the
last (DOS) backup. This is if the backup program is told to clear the
archive bit on successful file save.

Access control lists are totally different. They determine which people or
groups of people have access to a file.

HTH,
Loyd

-----Original Message-----
From: James Rich [mailto:james@eaerich.com]
Sent: Thursday, January 03, 2002 1:22 PM
To: 'midrange-l@midrange.com'
Subject: RE: Qp0lSetAttr()--Set Attributes


On Thu, 3 Jan 2002, Leland, David wrote:

> 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).

Anyone care to tell me what these attributes are?  How is the "read-only"
attribute different than:

-r--r--r--    1 james    users  myfile

Or what the heck is a "system" file?  How is a "hidden" file different
than a file with filename beginning with a '.'?  I guess archive means
"back up this file", but what the heck is such an attribute doing on the
file instead of the backup settings?

Are these attributes similar to ACLs?

James Rich
james@eaerich.com



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-2024 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.