How to mount an NCP volume as read-only.

  • 7014969
  • 28-Apr-2014
  • 08-May-2014


Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3


How can you mount an NCP volume as read only or prevent file system changes?


Use the following "ncpcon" command to change the volume property.
ncpcon disable write <volume name>

This will disable write access to the volume essentially turning the entire volume into a read-only volume. 

To verify the current state, use the "ncpcon volume <volume name>"
You will see the current "Status"
Example Status of volume in "read only" mode:
Status: online mounted "read only" NSS Long "cluster resource""user quotas" "directory quotas" salvageable.

Novell Documentation on this feature - ncpcon disable write.

Additional Information

This option will not allow any changes to the volume through NCP.  This would also include modifying trustees or any other attributes on the files.  Clients trying to open files in "read-write" mode will get a warning but will be allowed to open in "read-only" mode. 
However, this does not prevent modification via Linux console access with a Linux user with rights.