LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2003, 01:23 PM   #1
hothamp
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
Ok I'm an uber tard.... User Permissions


Ok heres the problem of the day.... I can see my post count is going to sky rocket here lol... Out of the 10 differnt forums I have found these are by far the most helpful.

Ok so I'm trying to install wine. I get it gziped or un zipped whatever.... I go to the tools folder and I attempt to run the ./wineinstall file to setup wine right. When I run that I'm in root and it says you don't want to run this file as root. So I login as my regular user. I do a ./wineinstall now it says you do not have permissions. So being a Win2k Network admin I search around and find the user list and learn that my user that I am loggin in under has no permissions assigned to him. So Since I haven't recieved my Cybex Linux Complete book yet I just guess at what groups I should add. I figure I will add the user to the usr group and the ADM (Which I am assuming is admin group). So I go back to the console and do the same thing all over again and I get the same response Permission denied. Can anyone give me some insite on what to do. I'm steadily learning things. This is just the one that slowed me today.

On a brighter note I learned how to gzip and tar the file into directories and what not wo0t wo0t.... but can anyone tell me what I'm doing wrong today.
 
Old 09-11-2003, 01:36 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
For a quick and dirty fix, log in as root and type chmod 777 wineinstall. If you want to change the script owner for the user and group do a chown root.users wineinstall, where root is the user that owns it and users is the group that owns it. Sinc you are a Windows admin I might add that a file can only have one group owner unless you want to get into access control lists and such. The chmod 777 allows all users to read write and exectue that file.
 
Old 09-11-2003, 01:43 PM   #3
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
as for permissions on files/dirs, if you enter "ls -l" in a console, you will see a "long" listing of the directory - the first group of 10 or so columns will indicate the permissions associated with each file and subdirectory.

I'd recommend reading the free docs at redhat.com or mandrake.com, or run a search at tldp.org - they have much better explanations than I can write - it's really very simple, just takes a bit of getting used to.

here's the RH section:
http://www.redhat.com/docs/manuals/l...ownership.html


Last edited by Genesee; 09-11-2003 at 01:50 PM.
 
Old 09-11-2003, 01:52 PM   #4
hothamp
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks you guys that is very helpful when I get home from work. I have 2 years to learn this shit before I get out of the army... Goal Shell Scipting

But I will read more on this tonight while at work.
 
Old 09-11-2003, 07:28 PM   #5
hothamp
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Problem not fixed guys this is the exact error I'm getting...

./configure: line 88: conf2394.sh: Permission denied
./configure: line 89: conf2394.sh: Permission denied
chmod: failed to get attributes of `conf2394.sh': No such file or directory
./configure: line 201: conf2394.file: Permission denied
./configure: line 949: config.log: Permission denied
 
Old 09-11-2003, 07:35 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Here is another quick and dirty one if the path to your wine directory is /usr/local/src/wine. chmod -R 777 /usr/local/src/wine. This will give read/write/execute to everything in the wine directory.
 
Old 09-11-2003, 10:37 PM   #7
hothamp
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
ok ok here we go from there

configure: creating cache config.cache
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 
Old 09-11-2003, 11:00 PM   #8
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You need to install gcc. It is a compiler.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user permissions mark_alfred Debian 7 09-10-2005 08:18 PM
User permissions Slayer097 Linux - Newbie 5 02-26-2005 05:55 PM
user permissions blubbfish Linux - Security 2 04-28-2004 06:33 AM
user permissions djroketboy Linux - Networking 7 10-02-2003 02:40 PM
user permissions newpenguin Linux - General 7 11-07-2002 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration