Permission Denied when moving, creating files.

Forum rules
Before you post please read how to get help

Permission Denied

Postby francobeemo on Sun Apr 22, 2012 6:39 pm

Hello, I'm using linuxmint 12 and encountered a problem with really slow internet connection. After a week of searching I found this solution:

sudo rmmod -f iwlagn
sudo modprobe iwlagn 11n_disable=1

So to make it permament I found this too:

gksudo gedit /etc/modprobe.d/iwlagn-disable11n.conf
options iwlagn 11n_disable=1

But that command won't work, also when i create the file manually on desktop and try to move it to modprobe.d i get permission denied.
help please!
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Linux Mint is funded by ads and donations.
 

Re: Permission Denied

Postby proxima_centauri on Sun Apr 22, 2012 6:41 pm

The command 'gksudo gedit /etc/modprobe.d/iwlagn-disable11n.conf' should work in terminal. You should get a dialog box asking for your password and then gedit should open. What happens after hitting enter in terminal?
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Permission Denied

Postby francobeemo on Sun Apr 22, 2012 6:53 pm

Apparently nothing, i get the password confirmation thing but then nothing happens

btw i'm using mint12 lxde and maybe this doesn't matters but in the terminal there's a ~ $ thing before my commands
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Permission Denied

Postby francobeemo on Sun Apr 22, 2012 7:05 pm

Could somebody help please? I really need to get that working...
just found out my brightness adjustment doesn't works either
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Permission Denied

Postby francobeemo on Sun Apr 22, 2012 8:25 pm

There's no faqs about this , none that i can find and understand properly, most of them are for experienced users...so just close this, i'll post again.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Permission Denied when moving, creating files.

Postby francobeemo on Sun Apr 22, 2012 8:38 pm

That's it, i can't move files or create them manually inside the "computer" folders. I get a permission denied error.. i cant even delete.
Any ideas of what's wrong?

with this specific file i need to create and modify I've tried doing it with commands like this:

gksudo gedit /etc/modprobe.d/iwlagn-disable11n.conf this would suposedly prompt a file file so i can include : options iwlagn 11n_disable=1
but nothing happens, i can just guess there's something wrong with the permissions I have.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Permission Denied when moving, creating files.

Postby proxima_centauri on Sun Apr 22, 2012 8:48 pm

Please don't fragment threads into separate sections. I have merged the two threads. For whatever reason, if gedit is not working. Try from terminal
Code: Select all
sudo echo options iwlagn 11n_disable=1 >> /etc/modprobe.d/iwlagn-disable11n.conf
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Permission Denied when moving, creating files.

Postby francobeemo on Sun Apr 22, 2012 10:33 pm

Again, I get permission denied on that command... thank you any ways bro.
Sorry about the post thing, like i wrote before you could have just deleted it, it just seemed nobody would respond so I made a new and clearer post.

So anybody? permission denied on everything.

I was thinking if there is a way to put these two commands on an executable so i dont need to copy paste them into the terminal every time i reebot.

Thanks.
francobeemo
Level 1
Level 1
 
Posts: 15
Joined: Sat Apr 14, 2012 10:53 pm

Re: Permission Denied when moving, creating files.

Postby proxima_centauri on Mon Apr 23, 2012 8:30 am

Are you sure you are providing the correct password for your user? Your password will not be shown to you as it is typed, make sure it is correct.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Permission Denied when moving, creating files.

Postby Boje on Fri Apr 27, 2012 12:11 pm

proxima_centauri wrote:Are you sure you are providing the correct password for your user? Your password will not be shown to you as it is typed, make sure it is correct.


I have the same problem - I do not get the chance to write my password, only after "sudo <nonsecured-drive-command>"!
Boje
Level 1
Level 1
 
Posts: 6
Joined: Tue Apr 24, 2012 10:36 am

Re: Permission Denied when moving, creating files.

Postby mank_in on Sat Apr 28, 2012 1:15 am

I am sure gedit not installed by default in LM12 LXDE. Maybe you can use :
Code: Select all
sudo nano /xxxxx/xxxxx


or maybe you can open as root the folder with file manager ( you will find open as root in file manager "tool ")
Image
Sorry for my bad English , I am Indonesian.
User avatar
mank_in
Level 6
Level 6
 
Posts: 1346
Joined: Wed Nov 16, 2011 2:29 pm
Location: Bali

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 3 guests