![](https://seccdn.libravatar.org/avatar/c01f35a5cdb80ee051c5e833de8283f9.jpg?s=120&d=mm&r=g)
I have just upgraded to v9.3 by doing a new installation and am have a question about permissions. I have an application, Tinder, that has a default installation directory of /opt for the file tree and the need to install symlinks in /usr/local/bin. Naturally, all of these directories are root/root. I want to run the installer as a user, not as root. I have one user on the system, computation which belongs to th dialout, video and users group. So I need to know how to set the permissions so that I can install, and run, tinker as the user computation. Another problem, about which I have no clue, is that i get a message from the installer: 'install4j An error occurred: java.io.IOException: Too many open files Error log: /tm//install4jError19740log' This causes the installer to bomb at about 70% completion (I tried running the installer as root one time, although I wasn't happy doing that). Thanks in advance. -- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
I have just upgraded to v9.3 by doing a new installation and am have a question about permissions.
I have an application, Tinder, that has a default installation directory of /opt for the file tree and the need to install symlinks in /usr/local/bin. Naturally, all of these directories are root/root.
I want to run the installer as a user, not as root. I have one user on the system, computation which belongs to th dialout, video and users group. So I need to know how to set the permissions so that I can install, and run, tinker as the user computation. In general, when you install software into /opt or /usr/local you should be logged in as root. In some cases, you can install software into a directory
On Wednesday 11 May 2005 12:38 pm, Stephen P. Molnar, Ph.D. wrote:
tree owned by you. Part of this depends on how tinder is actually built.
Some software might want to set the setuid bit. In general if you install
as root, you should be able to run it as a regular user.
--
Jerry Feldman
![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
Another problem, about which I have no clue, is that i get a message from the installer:
'install4j
An error occurred:
java.io.IOException: Too many open files Error log: /tm//install4jError19740log'
This causes the installer to bomb at about 70% completion (I tried running the installer as root one time, although I wasn't happy doing that). Linux (and Unix and other OSs), have limits on the number of open files. Use
On Wednesday 11 May 2005 12:38 pm, Stephen P. Molnar, Ph.D. wrote:
the ulimit(3) command to both examine and set these limits.
gaf@sauron:~> ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 4031
virtual memory (kbytes, -v) unlimited
You will not be able to change the number of open files as a regular user,
but you can as root, which is another reason to run the install as root.
The ulimit command can be used to set these parameters).
--
Jerry Feldman
![](https://seccdn.libravatar.org/avatar/c01f35a5cdb80ee051c5e833de8283f9.jpg?s=120&d=mm&r=g)
Thanks for the reply. The problem was the number of open files limit. Once I increased that tinker installed as root. I am running it as a user as I write this note. Thanks, again. On Wednesday May 11, 2005 01:08 pm, Jerry Feldman wrote:
On Wednesday 11 May 2005 12:38 pm, Stephen P. Molnar, Ph.D. wrote:
Another problem, about which I have no clue, is that i get a message from the installer:
'install4j
An error occurred:
java.io.IOException: Too many open files Error log: /tm//install4jError19740log'
This causes the installer to bomb at about 70% completion (I tried running the installer as root one time, although I wasn't happy doing that).
Linux (and Unix and other OSs), have limits on the number of open files. Use the ulimit(3) command to both examine and set these limits. gaf@sauron:~> ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 4031 virtual memory (kbytes, -v) unlimited
You will not be able to change the number of open files as a regular user, but you can as root, which is another reason to run the install as root. The ulimit command can be used to set these parameters).
-- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
On Wednesday 11 May 2005 2:05 pm, Stephen P. Molnar, Ph.D. wrote:
Thanks for the reply.
The problem was the number of open files limit. Once I increased that tinker installed as root.
I am running it as a user as I write this note. Good. Generally, these limits are usually enough, but sometimes they need to be bumped up.
--
Jerry Feldman
![](https://seccdn.libravatar.org/avatar/b12cfb65ca4faebc3e3aac17838e8f8d.jpg?s=120&d=mm&r=g)
Stephen, On Wednesday 11 May 2005 11:05, Stephen P. Molnar, Ph.D. wrote:
Thanks for the reply.
The problem was the number of open files limit. Once I increased that tinker installed as root.
It cannot possibly be proper for an installer to need to keep 1024 files open simultaneously. If you feel like it, you might want to report this as a bug to the author / vendor.
I am running it as a user as I write this note.
Thanks, again.
Randall Schulz
participants (3)
-
Jerry Feldman
-
Randall R Schulz
-
Stephen P. Molnar, Ph.D.