Why I can't copy files into the www folder in my root folder. It's saying access denied
I am trying to copy a folder from my downloads folder and paste it into the WWW folder in my root drive. Somehow access is denied, even although I am the administrator of this computer? I can't seem to access my permission settings, because this is not highlighted.
What I'm I doing wrong? Can you help me?
Thank you,
David
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu dolphin Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mike Ward
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Need to be able to launch a software package!
Revision history for this message
|
#2 |
To make all command with the root, administrator, powerful user you have 2 ways:
Please open a Terminal from the menu Applications-
gksudo nautilus
or with the cp (copy command), type man cp for the command options and usage
sudo cp sourcefiles_or_dir destination_path
give your user password when requested, you don't see nothing when you type it, then press enter.
Then you can also change the file owner and/or group with the "chown" termina command or change the permissions with the "chmod" terminal command to get more help:
man chown
man chmod
Hope this help
Revision history for this message
|
#3 |
Which software package...?
Revision history for this message
|
#4 |
OS commerce for Linux.
David
> Your question #19030 on dolphin in ubuntu changed:
> https:/
>
> marcobra proposed the following answer:
> Which software package...?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
Revision history for this message
|
#5 |
Yep, still having some difficulty. I need to copy Catalog folder from OS
Commerce for this to work. Because of the permission being set for no
access, This has been hard to get round and still working on it!
David
> Your question #19030 on dolphin in ubuntu changed:
> https:/
>
> Status: Answered => Open
>
> You are still having a problem:
>
> OS commerce for Linux.
>
> David
>
>> Your question #19030 on dolphin in ubuntu changed:
>> https:/
>>
>> marcobra proposed the following answer:
>> Which software package...?
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https:/
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>>
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
>
Revision history for this message
|
#6 |
Please tell us something more about the command that are you trying...
Revision history for this message
|
#7 |
I pasted the code that you sent to me in a Terminal, but it wasn't for
liking it! Maybe I should be pasting it into the Root Terminal?
> Your question #19030 on dolphin in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> marcobra proposed the following answer:
> Please tell us something more about the command that are you trying...
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
Revision history for this message
|
#8 |
Please, if you want real help, please tell us the code you have pasted...
Revision history for this message
|
#9 |
This is the code.
gksudo nautilus
or with the cp (copy command), type man cp for the command options and
usage
sudo cp sourcefiles_or_dir destination_path
> Your question #19030 on dolphin in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> marcobra proposed the following answer:
> Please, if you want real help, please tell us the code you have
> pasted...
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
Revision history for this message
|
#10 |
It sounds like there may have been a bit of confusion. If I'm just repeating things that are already clear, David, I apologize, but I'll see if I can make it a little clearer.
What Marcobra gave you is two different, possible ways of copying the files. So, just looking at the first way, the exact command to paste into the terminal is:
"gksudo nautilus"
Paste that into the window, without the quotes, and run it. It should then give ask you for your password, and then give you a nautilus window. In that window you should be able to copy the files.
Please, though, be careful, since this window is running as root. That means it has full access to all files on the system. You should only do this when you have to, because it's much easier to accidentally cause problems than normal. Most of the things in Ubuntu are restricted like this to help protect them, so it's best to be certain that you're doing what you mean to do before you do them.
Revision history for this message
|
#11 |
I find this also with ununtu. It's incredibly infuriating, almost like being told what to do by your operating system back in windows! Is there any way to turn these restrictions on file access off completely, without having to go into the terminal everytime you want to copy a file?
Ben
Revision history for this message
|
#12 |
Technically yes, you can set all of your files to be world readable, writable, and executable, but I frankly wouldn't feel comfortable giving that kind of advice. There are *very* important reasons why these permissions are there. Believe me, I can understand your annoyance with them, but it's an essential part of basic security on your system. I can't stress enough how important they are.
There is a workaround, though. You could just make a link to your home directory from the place you're trying to put files. For instance, if you're trying to put files in /var/www/html/ you could make the "html" directory a link to a "html" in your home directory. Then you'd just use the latter (/home/
Does this sound like a reasonable compromise that'd still let you do what you need to do?
Revision history for this message
|
#13 |
Thankyou for your advice. I see your point about security, but I still think there should be a way for the user to decide on the level of security they need without being dictated to.
The problem I was having at the time I posted last was merely trying to put some pictures in the /usr/share/
Ben
Revision history for this message
|
#14 |
Well, if you really must have complete access to the entire file system without the safety of user accounts and file permissions, you could just run as the root user all of the time. I very much recommend against it, but it is your system. Just be careful with it.
To do this, type "sudo passwd root" in a terminal, and give your root account a password. Once you've done that, you ought to be able to log in as root just as any other user.
Still, I can't stress enough to be careful. One of the protections you're losing, for example, is that a small typo in a command or a mistaken click could do very bad things. Imagine deleting key parts of your operating system because you mistakenly clicked "delete" when you didn't mean to. This isn't really possible as a normal user, but as root, it'll do it without a peep.
Revision history for this message
|
#15 |
Thanks Mike Ward, that solved my question.
Revision history for this message
|
#16 |
Mike-
I'm trying to work in my var/www folder and unable to access it. I just need to move some files into it to see how they work...
I'm new to doing this on a linux platform (running 7.10)
Any suggestions? I tried giving root a password but I get the error that I can't login as root...I'm stuck .
Revision history for this message
|
#17 |
I've the same problem as DocHobbes.... HELP