 |
 |
 |
 |
| Installation Help Need help on installation? Having problems? Get help here on your fresh installations or upgrades. |

2009-11-06, 11:05 PM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
Enabling user exec to install?
I was told to simply go into the fstab folder to allow myself permissions to execute files without becoming root, but instead of following it blindly I need a 2nd opinion. I cannot install a specific program because of configuration problems even though I downloaded all the gcc, g++ etc packages. I got permission denied and here I am in my fstab folder. Anything I can do about this?
Code:
#
# /etc/fstab
# Created by anaconda on Sat Oct 3 16:31:46 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=148b7e88-eb2d-4e7d-a4ee-c12b833a3ae8 /boot ext3 defaults 1 2
/dev/mapper/vg_myname-lv_root / ext4 defaults 1 1
/dev/mapper/vg_myname-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
#devpts options modified by setup update to fix #515521 ugly way
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
Last edited by Hlingler; 2009-11-06 at 11:07 PM CST.
|

2009-11-06, 11:11 PM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
Added <CODE> tags for clarity.
Quote:
|
I was told to simply go into the fstab folder to allow myself permissions to execute files without becoming root
|
Who, what, where ??? Or do you mean: add the 'exec' flag to mounts in fstab ? Please provide some more details as to what you are trying to do, as well as basics:
> Fedora Release and ARCH
> What exactly do you need to do that you want to: "allow myself permissions to execute files without becoming root"
>
Quote:
|
I cannot install a specific program because of configuration problems even though I downloaded all the gcc, g++ etc packages. I got permission denied and here I am in my fstab folder.
|
Define please.
V
P.S.
Quote:
|
/dev/mapper/vg_myname-lv_root / ext4 defaults 1 1
|
Is this F12 Rawhide (Alpha/Beta/Pre-release) ???
|

2009-11-06, 11:43 PM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
I tried to cd into the application and ./configure, receiving the error: ./configure: line 1359: config.log: Permission denied. I googled and ended up in a forum containing this advice:
"You have to check the file /etc/fstab:
Look out for the volume where the sources of the program to compile are. Remove the statement "noexec" (without quotes) or if you find "user" there replace it with "user,exec".
unmount the device, mount it again"
I found no such language (exec, user exec, etc) in my fstab folder and would hate to mess with it, so I came here. I have never successfully installed a program with ./configure due to gcc problems, which I have installed, so I figured this might be the cure-all.
You're probably right about the flag---what should I do with it?
BTW- It's Fedora Core 11---there's some rawhide beta in here for sure.
|

2009-11-06, 11:54 PM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
Quote:
|
BTW- It's Fedora Core 11---there's some rawhide beta in here for sure.
|
Not good... . Mixing F11 stable with Rawhide is usually a recipe for disaster. However, I jumped the gun and forgot that ext4 is standard as of F11.
From man mount:
Code:
defaults
Use default options: rw, suid, dev, exec, auto, nouser, and async.
You already have:
Quote:
|
/dev/mapper/vg_myname-lv_root / ext4 defaults 1 1
|
Or is the source code in question (what was the code for again ?) not located on your main Linux partition ?? Is the code on some removable media ??? The usual procedure is to unpack the source code tarball somewhere convenient on your main file system (I usually create a world-writable "shared" folder at /home/shared/) and dump it in there, then proceed to compile.
V
|

2009-11-07, 12:07 AM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
The download is a simple game, entering into it by using cd /home/Myname/openyahtzee-1.9. That is where all sites say ./configure works but it doesn't. No make or make install to follow.
Many files claim to have some source code so I don't know exactly which one to find. I have never installed any 3rd party games like this and am extremely new to all this.
I don't understand the man mount tip---dont know how to get there or where it is. Again, very new. I'll be all over your advice once I find it.
YES, all I did was download the Fedora 11 and install it over a crashed system. Should I ls or whereis rawhide to see if I have traces?
|

2009-11-07, 12:10 AM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
|
Don't worry about Rawhide at the moment. Let's see permissions on the source code folder; please post results of command:
ls -lha /home/Myname/openyahtzee-1.9
V
|

2009-11-07, 12:11 AM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
K, got man mount: defaults
Use default options: rw, suid, dev, exec, auto, nouser, and async.
Is this the cure-all those people were celebrating about??
|

2009-11-07, 12:13 AM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
Why goof with compiling this app ??? Just go fetch the generic Linux RPM and 'localinstall' it with YUM: http://www.openyahtzee.org/wiki/Download
Get the generic Linux 32-bit OR 64-bit RPM to match your OS.
Then:
su
yum --nogpgcheck localinstall < PATH-to-OpenYahtzee-RPM>
V
|

2009-11-07, 12:14 AM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
Quote:
Originally Posted by Hlingler
Don't worry about Rawhide at the moment. Let's see permissions on the source code folder; please post results of command:
ls -lha /home/Myname/openyahtzee-1.9
V
|
ls -lha /home/Nathan/openyahtzee-1.9
total 356K
drwxrwxr-x. 5 Nathan Nathan 4.0K 2009-11-07 00:35 .
drwx------. 55 Nathan Nathan 4.0K 2009-11-07 00:34 ..
-rw-r--r--. 1 Nathan Nathan 32K 2008-10-04 06:09 aclocal.m4
-rw-r--r--. 1 Nathan Nathan 37 2008-01-17 14:00 AUTHORS
-rw-r--r--. 1 Nathan Nathan 2.9K 2009-02-17 01:39 ChangeLog
-rw-r--r--. 1 Nathan Nathan 722 2008-02-11 23:46 config.h
-rw-r--r--. 1 Nathan Nathan 557 2008-10-04 06:10 config.h.in
-rw-r--r--. 1 root root 6.5K 2009-11-05 18:30 config.log
-rwxr-xr-x. 1 Nathan Nathan 152K 2008-10-04 06:09 configure
-rw-r--r--. 1 Nathan Nathan 841 2008-10-04 06:09 configure.ac
-rw-r--r--. 1 Nathan Nathan 18K 2008-01-17 14:00 COPYING
-rwxr-xr-x. 1 Nathan Nathan 18K 2008-02-11 23:46 depcomp
drwxrwxr-x. 2 Nathan Nathan 4.0K 2009-04-20 05:54 icons
-rw-r--r--. 1 Nathan Nathan 6.9K 2008-01-17 14:00 INSTALL
-rwxr-xr-x. 1 Nathan Nathan 13K 2008-02-11 23:46 install-sh
drwxrwxr-x. 2 Nathan Nathan 4.0K 2009-04-20 05:54 macros
-rw-r--r--. 1 Nathan Nathan 322 2008-11-23 07:25 Makefile.am
-rw-r--r--. 1 Nathan Nathan 22K 2008-11-23 07:26 Makefile.in
-rwxr-xr-x. 1 Nathan Nathan 11K 2008-02-11 23:46 missing
-rw-r--r--. 1 Nathan Nathan 0 2008-01-17 14:00 NEWS
-rw-r--r--. 1 Nathan Nathan 244 2008-01-17 14:00 openyahtzee.desktop
-rwxr-xr-x. 1 Nathan Nathan 924 2008-10-04 11:29 openyahtzee.sln
-rwxr-xr-x. 1 Nathan Nathan 5.2K 2008-10-23 13:15 openyahtzee.vcproj
-rw-r--r--. 1 Nathan Nathan 0 2008-01-17 14:00 README
drwxrwxr-x. 3 Nathan Nathan 4.0K 2009-04-20 05:54 src
-rw-r--r--. 1 Nathan Nathan 633 2008-01-17 14:00 TODO
|

2009-11-07, 12:17 AM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
|
I don't know why './configure' would choke on permissions - unless you are NOT Nathan. Forget compiling, and just use the developer-supplied RPM as per my last post. Using pre-compiled RPMs is oh-so-much easier... .
V
|

2009-11-07, 12:22 AM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
The error it gives me for every app is C compiler, gcc, cl.exe stuff---I could go on and on. I did go into Add/Remove to get those downloaded. This whole "Permission Denied" thing did throw me for a loop.
Basically what you're saying is that there are rpm downloads available I can use instead? I'll give it a look---much better than screwing with my fstab...
|

2009-11-07, 12:26 AM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
Quote:
|
Basically what you're saying is that there are rpm downloads available I can use instead? I'll give it a look---much better than screwing with my fstab...
|
I see generic Linux RPMs for either 32-bit OR 64-bit right there, pre-compiled, on the developer's web page that I linked to. Using pre-compiled binary RPMs (even generic Linux) is vastly preferable to goofing around with compiling yourself - unless you want/need to learn more about compiling. If you just want to install and play a game, go get the goods and be done with it.
V
P.S. Highly recommended not to goof with fstab unless absolutely necessary, and you know exactly what, why, when, where, who.
|

2009-11-07, 01:13 AM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
|
I got this error:
Examining /home/Nathan/Download/OpenYahtzee-1.8.1-1.i386.rpm: OpenYahtzee-1.8.1-1.i386
/home/Nathan/Download/OpenYahtzee-1.8.1-1.i386.rpm: does not update installed package.
I had previously tried to install it and it ended up in the bin/yum folder but wouldn't execute. It also won't allow me to delete it or the other 3 folders/files installed. Is that the problem?
BTW, I'm not just obsessed with playing Yahtzee, lol. Once I figure it out I'll be able to handle numerous other packages.
|

2009-11-07, 02:08 AM CST
|
 |
Community Manager
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 9,221

|
|
The OpenYahtzee RPM is already installed (you didn't mention that before...). See if it's damaged:
rpm -V openyahtzee
No output except a new line means that all is well, so it's just a matter of finding out if it actually works, and how to start it.
Quote:
|
I had previously tried to install it and it ended up in the bin/yum folder but wouldn't execute.
|
What do you mean ? If the RPM verify command above shows no damage, then find out where the files are, and what is the name of the executable and where:
rpm -ql openyahtzee
Copy-and-paste commands to ensure no typos.
V
|

2009-11-07, 03:42 PM CST
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 13

|
|
Quote:
Originally Posted by Hlingler
The OpenYahtzee RPM is already installed (you didn't mention that before...). See if it's damaged:
rpm -V openyahtzee
No output except a new line means that all is well, so it's just a matter of finding out if it actually works, and how to start it.What do you mean ? If the RPM verify command above shows no damage, then find out where the files are, and what is the name of the executable and where:
rpm -ql openyahtzee
Copy-and-paste commands to ensure no typos.
V
|
It ended up in the etc/bin folder and wouldn't do anything. The icon also appeared in my "Games" menu and it tried launching but wouldn't. Executable file says read only and I don't know how to change the permissions. I am using copy/paste from this thread to eliminate errors, and all your commands have been right. It's a setting on my side that's wrong.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Automatic Translations (Powered by  ):
All times are GMT -7. The time now is 08:47 AM CST.
|
|
 |
 |
 |
 |
|
|