Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32536 - "max disk size" in smb.conf does not limit disk usage.
Summary: "max disk size" in smb.conf does not limit disk usage.
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Security Guide (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-02 05:18 UTC by HAGIHARA Yoshiaki
Modified: 2003-11-02 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HAGIHARA Yoshiaki 2003-11-02 05:18:21 UTC
In the XML 2214-2215:

  #Add a max size of usage in kilobytes
  max disk size = 102400

But man smb.conf says:

   max disk size (G)
      This option allows you to put an upper  limit  on  the  apparent
      size  of  disks.  If  you set this option to 100 then all shares
      will appear to be not larger than 100 MB in size.

      Note that this option does not limit the amount of data you  can
      put  on  the  disk. In the above case you could still store much
      more than 100 MB on the disk, but if a client ever asks for  the
      amount of free disk space or the total disk size then the result
      will be bounded by the amount specified in max disk size.

I think this part of guide will mislead readers.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-02 13:16:07 UTC
I've updated it to:

#Maximum size smb shows for a share (not a limit)
max disk size = 102400