Re: ulimit -c unlimited

2017-07-26 Thread Reuti
> Am 26.07.2017 um 03:43 schrieb 積丹尼 Dan Jacobson : > > $ ulimit -c 99 > $ ulimit -c 99 > $ ulimit -c unlimited > bash: ulimit: core file size: cannot modify limit: Operation not permitted > > Maybe say: try again with numbers, not letters. Do you get this as root too? If t

Re: ulimit -c unlimited

2017-07-26 Thread Chet Ramey
On 7/25/17 9:43 PM, 積丹尼 Dan Jacobson wrote: > $ ulimit -c 99 > $ ulimit -c 99 > $ ulimit -c unlimited > bash: ulimit: core file size: cannot modify limit: Operation not permitted The limits are not quite what you think they are. Here's what happens on my system. The core file

Re: ulimit -c unlimited

2017-07-26 Thread 積丹尼 Dan Jacobson
$ ulimit -c 0 $ ulimit -c 99 $ ulimit -c 99 $ ulimit -c 99 bash: ulimit: 99: limit out of range $ ulimit -c 999 bash: ulimit: 999: limit out of range

Re: ulimit -c unlimited

2017-07-26 Thread 積丹尼 Dan Jacobson
CR> The third command attempts to increase the limit beyond the current hard CR> limit. If you're not root, this is not permitted. I find it odd that a normal user can raise it only once...

Re: ulimit -c unlimited

2017-07-26 Thread Greg Wooledge
On Wed, Jul 26, 2017 at 10:22:49PM +0800, 積丹尼 Dan Jacobson wrote: > $ ulimit -c 99 > bash: ulimit: 99: limit out of > range > $ ulimit -c 999 > bash: ulimit: 99