Ah, I think I found a solution. See http://www.chromium.org/administrators/policy-list-3#DiskCacheSize. If the value is 0, then the default cache size will be used. Even though this is for the policy, I'm guessing this might apply to the command line flag as well.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1259933 Title: chromium-browser ignores CHROMIUM_FLAGS Status in “chromium-browser” package in Ubuntu: New Bug description: I have this, 0 jan@muizenberg:/var/autofs/misc/home/jan$grep FLAG /etc/chromium-browser/default #CHROMIUM_FLAGS="" CHROMIUM_FLAGS="--disk-cache-size=0" 0 jan@muizenberg:/var/autofs/misc/home/jan$ And yet chromium uses disk cache in .cache/chromium/Default/Cache Here http://www.chromium.org/developers/how-tos/run-chromium-with-flags it says that Current switches may be found at http://peter.sh/examples/?/chromium-switches.html redirects to http://peter.sh/experiments/chromium-command-line-switches/ which says --disk-cache-size ⊗ Forces the maximum disk space to be used by the disk cache, in bytes. ↪ and chromium seems to read the file, if not respect the option: 0 jan@muizenberg:/var/autofs/misc/home/jan$strace -e open chromium-browser 2>&1 |grep /etc/chromium-browser/default open("/etc/chromium-browser/default", O_RDONLY) = 3 0 jan@muizenberg:/var/autofs/misc/home/jan$ Use case: university computer lab with disk quotas on a nfs home server, running a campus wide proxy, wishes to disable chromium cache on all university desktops. Attempted workaround, was to edit /usr/share/applications/chromium- browser after each upgrade, point Exec= lines in the chromium- browser.desktop file at our own /usr/local/bin/chromium-browser- wrapper.sh, which calls /usr/bin/chromium-browser --disk-cache-size=0 "$@" which also seems NOT to work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1259933/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

