>bash: ulimit: cannot modify limit: Operation not permitted
Hi! I don't understand this problem myself, but I got a fast net
connection, so I flew over to dejanews and search for "bash ulimit". I
found some old postings regarding this. The replies are as follows:
(Hope they are of help!)
> However, the problem is documented in the bash2 COMPAT file:
>8. `ulimit' now sets both hard and soft limits and reports the soft
> by default (when neither -H nor -S is specified). This is
> with versions of sh and ksh that implement `ulimit'. The
> behavior of, for example,
> ulimit -c 0
> can be obtained with
> ulimit -S -c 0
> It may be useful to define an alias:
> alias ulimit="ulimit -S"
>The fix is in one of the bash startup files.
>73 de Jeff
>Jeff Johnson ARS N3NPQ
>Chapel Hill, NC
And here is another one
>ulimit is a shell builtin and this one means "you" tried to increase
>a limit you're not allowed to if not root. Silly question, but did
>you take a look into your .bash_profile, then /etc/profile ?