LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2004, 10:17 AM   #1
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Rep: Reputation: 15
Access is Denied?


I'm trying to copy some files from my desktop to other folders on my comp but always get an 'access denied' error message. I am taking them from a windows box, onto a flash card reader then from there to my desktop as thats the only place that it will let me copy them to. From there I want to install them but not in /home/Desktop/ particularly.

Any ideas why?

Also what is the default location to install programs to? Is there a good page i can read that shows what all the paths are in *nix, thanks
 
Old 06-11-2004, 10:24 AM   #2
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
Aside from your /home/~ directory there really isn't any location that a user account would have permissions to write to - I would suggest you 'su' and do your copying to other locations or make your user the owner of the location that you're trying to copy to.

As for a default location - I do all of my installs to /usr/local as it seems to be the place that I've seen recommended.
 
Old 06-11-2004, 10:25 AM   #3
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 35
Assuming I got what you mean -

Windows executable files like word.exe will not run under linux.

/usr/bin usr/bin/local are the places where most software is installed -
some special software, network stuff may go elsewhere. Some commercial compilers are installed in the /opt directory tree. Oracle and Sybase have their own trees, for an example of regular commercial high end software.

Last edited by jim mcnamara; 06-11-2004 at 10:27 AM.
 
Old 06-11-2004, 10:35 AM   #4
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Hi this is just an "ownership" problem/feature

Linux does only allow users to creat (copy) files in a directory they own or have "write permissions" usualy their home directory (/home/username.

In order to install program you usualy need to become root. (root is similar to the windows administrator.)

The best way to install programs varies per distribution, they all have a graphical interface and I reccomend you use that. (If you get more familiar with the command line you can use tools like yum, apt, emerge.)

Hope this helps
 
Old 06-11-2004, 10:40 AM   #5
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
I'm actually trying to install my modem drivers (see post a few posts down, still unanswered ) and the PengAOL dialler, don't ask why AOL, it's a long story. So I have to do it at command prompt apparently but dont want to do it from my desktop, will check out these ownerships issues when i get home, thanks
 
Old 06-12-2004, 05:06 AM   #6
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
ok thanks guys but how do i log in as root? when i logout there is no option to log back in as root
i want my user account to be able to put files anywhere.
 
Old 06-12-2004, 05:16 AM   #7
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
ah its ok, ive found if you go to login manager you can unhide root from the login manager.
 
Old 06-12-2004, 10:28 AM   #8
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
You may also want to look into 'su' as that will save you some time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Access Denied aje Linux - Newbie 7 10-18-2004 08:48 PM
Access denied?? Jaster Linux - Software 9 07-25-2004 07:42 PM
access denied crossfire_mania Linux - Software 2 01-28-2004 07:14 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
access denied - but why? Steave Programming 1 08-31-2001 06:04 AM


All times are GMT -5. The time now is 11:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration