10-02-2008
permission to install software
Hello everyone,
I want to install a software on an external hard disk. I used Fedora core 6 whose default shell is bash. As user I have changed to sh shell because in order to install I have to use the sh shell. I had changed permission on all the files using
sh-3.1$ chmod +x configure.linux
and all the files have execute permissions. However, when I execute
sh-3.1$ ./configure.linux
sh: ./configure.linux: Permission denied
I got a couple of more experienced users to help me but the problem remains. Can someone suggest how to solve this problem? Thank you.
Siti
![Confused Smilie](https://www.unix.com/images/smilies/confused.gif)
10 More Discussions You Might Find Interesting
1. Solaris
what is the command to install a software from a remote server or cd?
pkg_add -rv bash < freebsd
i need the same command on solaris
i try to use pkgadd but no success (0 Replies)
Discussion started by: litch
0 Replies
2. UNIX for Dummies Questions & Answers
Need help guys, i need to know where can i get a unix on solaris 10 software to install unix into my computer since i dont have internet. I want to start playing on them at home. Any help appreciated ....
sonny (1 Reply)
Discussion started by: rxsonny
1 Replies
3. UNIX for Dummies Questions & Answers
hi! all
i've setup my PC with FreeBSD 6.2 and i've created login ID for my friends
i would like to allow them to install program (since they're requesting to use bnc/psybnc) using their shell
however, they have encounter such error to install the program
they have to sudo in order to run... (3 Replies)
Discussion started by: rdns
3 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I need gcc with permission 750, while installation itself. or how can i change the permission without using chmod command.
My requirement is User and Group only use the gcc. since i am having ldap users.
Thanks in advance. (1 Reply)
Discussion started by: rajamohan
1 Replies
5. UNIX for Dummies Questions & Answers
Hi, my friend refer me here he was saying that they have the best solution and really good wisdom of the UNIX system , i am learning and trying to install the audio software in my pc , but it 's not working may be i am forgetting something. (2 Replies)
Discussion started by: maggilane
2 Replies
6. Solaris
hi all
i am working on zone and when i try to install software
i face read and write permisssion on directory which zonning inherit from them
so how can i add read and write permission to zone already running (3 Replies)
Discussion started by: jamisux
3 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
I'm currently trying to install a software for my job... Sadly, noone can help me with UNIX :(
I'm working on cygwin, with a proxy to access web (I dunno if these informations are needed)
Here is the link to my software : Sybil: Downloads
What I have been able to do :... (5 Replies)
Discussion started by: sluvah
5 Replies
8. Red Hat
Hi,
I've been busy since this afternoon with an editor called e3 installation process!
I have the source code and I think that I have to make a .C file first then try make command ...
./configure doesn't work, there is no useful README and I am completely lost...
The file for Fedora x86_64 is... (1 Reply)
Discussion started by: almirzaee
1 Replies
9. AIX
Hello,
I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location?
i would like to intall in /opt folder , but smitty installed it in /usr
Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
10. Red Hat
Hi there.
I'm setting up my first "proper" server using RHEL - in the past I've only had various test servers etc running, so want to make sure I'm doing things properly.
When installing s/w, let's say Apache, I don't want it to run as root, correct? Should I then create a new user "apache"... (4 Replies)
Discussion started by: eludlow
4 Replies
LEARN ABOUT CENTOS
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)
NAME
pivot_root - change the root filesystem
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
OPTIONS
-V, --version
Output version information and exit.
-h, --help
Display help and exit.
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO
chroot(1), mount(8), pivot_root(2), switch_root(8), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)