Hiding system files when adding or modifying a CIFS normal share

Description

Hiding system files when adding or modifying a CIFS normal share

When adding a CIFS normal share, the default is to display the system files (lost+found, quotas, quotas.grp). To hide the system files, you must use the veto_sys_files CIFS export option.

See About the CIFS export options.

To hide system files when adding or modifying a CIFS normal share

  • To hide system files when adding a CIFS normal share, enter the following:

    CIFS> share add filesystem sharename [cifsoption]

    Use the veto_sys_files CIFS export option to hide system files.

    For example:

    CIFS> share add fs1 share1 veto_sys_files
    Exporting CIFS filesystem : share1 ...Success.
    CIFS> share show
    ShareName FileSystem ShareOptions
    share1 fs1 owner=root,group=root,fs_mode=1777,veto_sys_files
    CIFS> share show
    ShareName FileSystem ShareOptions
    share2 fs2 owner=root,group=root,fs_mode=1777
    CIFS> share modify share2 veto_sys_files
    Warning: Modifying an already existing share.
    ..........Done
    CIFS> share show
    ShareName FileSystem ShareOptions
    share2 fs2 owner=root,group=root,fs_mode=1777,veto_sys_files

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)