AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

disk/misc/SFSSetAttr.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Utility to set SmartFileSystem object attributes
Author:"Marcin "Morgoth" Kurek" morgoth6 at box43.pl
Uploader:Marcin "Morgoth" Kurek <morgoth6 box43 pl>
Type:disk/misc
Version:1.0
Architecture:m68k-amigaos
Date:2002-12-11
Requires:-
Replaces:-
Download:disk/misc/SFSSetAttr.lha - View contents
Readme:disk/misc/SFSSetAttr.readme
Downloads:824

--------------- Introduction ---------------

With this little utility you can set some of special SmartFileSystem
object (By object I mean the directory or file) attributes. 
For now only the HIDDEN and UNDELETEABLE are available. 

Please note that there is a similar utility already. I mean the
SFSObject program by Martin Steigerwald, but there is only one small
problem with it due some compiler difrences the later version (1.5)
do not work at all :( 

SFSSetAttr i small (1kb) and works fine.

--------------- Legal ---------------

The author DOES NOT take any responsibility for any damage 
occured while using this tool.

 !THERE ARE NO WARRANTIES!

SFSSetAttr may be freely distributed. It is freeware!

--------------- Usage ---------------

Template: 

OBJECT/A,HIDE/S,UNDELETEABLE/S,F=FORCE/S,Q=QUIET/S: 

   OBJECT/A - Object to be set

   HIDE/S - Set HIDDEN attribute for this object

   UNDELETEABLE/S - Set UNDELETEABLE attribute for this object

   F=FORCE/S - Forces attribute set, even if this action can be
               dangerous. For example SFSSetAttr will not allow
               to change the .recycled directory attributes

   Q=QUIET/S - Hide program messages

If you run this program without atribute this attribute will
be reset. For example if you specyfy:

SFSSetAttr Object

The program will unhide and make deleteable the "Object"

And second example:

SFSSetAttr Object HIDE

This makes "Object" hidden and deleteable.

--------------- Attributes ---------------

This is a part of developer documentation for SmartFileSystem:

HIDDEN: The Object won't be returned by EXAMINE_NEXT or
        EXAMINE_ALL.

UNDELETABLE: ACTION_DELETE_OBJECT will return an error for Objects
             protected by this bit.

In simple words if you set the HIDDEN attribute for file or
directory it will be not listed by AmigaDOS anymore, it's still here
you can still acces it but for example a dir or list commands will
not print it.

If the object have the UNDELETEABLE attribute set there is no 
easy way to delete it, the object is simple undeleteable.

--------------- Notes ---------------

There is some teoretical problems when using this software:

For example if you hide a file and forgot it's name ? 
Or make a executable undeleteable and want to delete a directory 
that contain this file, or better this executable is set to
hidden and undeleteable and you do not remember it's name.

For now there is simple solution a SFSCheck (v2) 
It can seek for objects with special attributes (SEEK/S switch).
With this you can locate all hidden and undeleteable 
files or directories on SFS device.

!! Please note that SFSCheck older than 2.41 relase
   has a ugly bug in seek process, 2.41 fix this !!

--------------- History ---------------

1.0 (1.12.2002) - First public relase

--------------- ToDo ---------------

- find the rest of the bugs ;)
- ... any suggestions ?

--------------- Bugs ---------------

- As far I know ... none ;)

--------------- ThX ---------------

John Hendrikx   - For wonderful SFS of coz :)
Jörg Strohmayer - For keep it alive

--------------- Support ---------------

Feel free to send me your suggestions and/or bug reports.

--------------- Author ---------------

Marcin "Morgoth" Kurek

morgoth6@box43.pl

--------------------------------------


Contents of disk/misc/SFSSetAttr.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1653    1873  88.3% -lh5- 9e86 Dec  1  2002 SFSSetAttr.info
[generic]                  979    1388  70.5% -lh5- f4f9 Dec  1  2002 SFSSetAttr/SFSSetAttr
[generic]                 1557    3569  43.6% -lh5- 882f Dec  1  2002 SFSSetAttr/SFSSetAttr.readme
[generic]                  652    1074  60.7% -lh5- c22a Dec  1  2002 SFSSetAttr/SFSSetAttr.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    4841    7904  61.2%            Dec 10  2002
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>