360 Systems DigiCart/E User Manual

Page 40

Advertising
background image

38

• Operation

The DigiCart must have Read-Write permission over the net drive and the file to rename a file. If the
permissions are not correct, the DigiCart will display the error “File Is Read Only” when attempting to update
the directory. Note that files copied from CD-ROMS are typically set to Read Only. See Directory Updates
and Automatic Renaming by DigiCart below.

Directory Updates and Automatic Renaming by DigiCart

Note that when an Update Directories operation is performed to resolve duplicate indexes or rename files in
the DigiCart format, the DigiCart must be able to rename the files. If it can not it will not be able to recognize
the files when it builds its directory display. There are three possible causes for this:

The file attributes (or the directory or network drive folder attributes) are set to read only. In this case
the error “File is Read Only” will be displayed. This can happen if the files are copied from a CD-
ROM. Highlight all of the files, right click, select Properties and then uncheck read-only. It is also
possible to change an entire folder’s files by setting the folder that contains them to Read Only, then
back to Read-Write and answer yes when prompted to set the attributes for the contents of the folder.

The DigiCart does not have Read-Write permission for the network drive in the NFS share properties.
In this case an administrator must have a DigiCart that has permission that can rebuild the directory,
or the permission must be temporarily changed to allow read-write operation. This will also cause the
error “File is Read Only” to be displayed.

The file and/or directory ownership or permissions in Windows prevent access by the DigiCart. In
this case the DigiCart will just fail to see the files. See the next section.

Setting File and Directory Ownership and Permissions

Initially, the sub-directories that a DigiCart/E automatically creates in a Net Drive are set up with special
permissions that enhance security in most systems. The DigiCart/E is a member of a special user group
defined by Services for Unix called Anonymous Logon. Ownership of the directories and files it creates is
attributed to this group. The permissions of this special user group do not allow unlimited access to the
directories and files by even the Administrator group. In a DigiCart/E only network this is not a problem.
However, an administrator at the server or an operator at an optional workstation will not be able to modify or
rename files created by the DigiCart. Also, the DigiCart will not be able to rename or modify files placed on
the net drive by Windows or workstations. In order to perform these types of operation, it is necessary to:

Build the complete directory structure of the network drive including subdirectories 0-9 and S in
Windows when the Net Drive directory folder is created

, or

Log on as Administrator (or a member of the Administrators group) and modify the directories as
described below.

In order to change the permissions, ownership of the sub-directories must be changed to the Administrators
group, which then allows new user groups to be added and their permissions edited by the Administrator.

Fortunately, this can all be done at once by setting the properties of the Net drive itself and propagating them
to the sub-directories. Even though it appears in the following instructions that we are adding the Anonymous
Logon group, we are actually preserving its presence in the permissions list that will be propagated to the
subdirectories. The essential thing is that all the sub-directories have the Everyone group added to them, and
that permissions are set to propagate from the directories to their contents.

It is possible to create a “template” folder with subdirectories 0-9 and S, and then make copies of it in Windows. The ownership and permissions will

be retained by the copy, which can then simply be shared over NFS. You still have to set the NFS permissions explicitly.

Advertising