Hiding system files when adding or modifying a CIFS normal share

Article:HOWTO60429  |  Created: 2011-10-20  |  Updated: 2012-02-03  |  Article URL http://www.symantec.com/docs/HOWTO60429
Article Type
How To


Environment

Subject


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

Legacy ID



v58042189_v64777215


Article URL http://www.symantec.com/docs/HOWTO60429


Terms of use for this information are found in Legal Notices