LinuxQuestions.org
Visit Jeremy's Blog.
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 04-22-2007, 06:53 PM   #1
jacatone
Member
 
Registered: Mar 2004
Posts: 280

Rep: Reputation: 30
Gaining access to directory files


I'm trying to fix a connection problem in Kubuntu 6.06 and KDE. When I try adding a file to say /dev/ or /usr/ through Konqueror it keeps telling I don't have permission. How would I gain permission while in Konqueror? If I have to use a command line, I know how to become root but how would I add a file to a directory? Thanks.
 
Old 04-22-2007, 07:22 PM   #2
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Using the terminal you can use cp to copy a file or mv to move a file. I'm not sure why you would want to move something to /dev.

Also press Alt+F2 on kde to get the run dialog, then enter kdesu konqueror to run konqueror as root.


Cheers,
vxc
 
Old 04-22-2007, 07:54 PM   #3
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
By the way, to make an empty file on the command line you can use the 'touch' command or use the nano text editor to make a new text file. If you need to copy a file from one place to the other, use 'cp' and if you need to move a file use 'mv'.
 
Old 04-23-2007, 01:25 AM   #4
jacatone
Member
 
Registered: Mar 2004
Posts: 280

Original Poster
Rep: Reputation: 30
I just need permission to access any of the directory files. If I open Properties, everything's grayed out. I can't read, write of do anything with them. I just keep getting "Permission denied". I'll try the keyboard shortcut for Konqueror.
 
Old 04-24-2007, 10:58 PM   #5
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Right, you need to be root to change the permissions too. Alt+F2 isn't a shortcut to Konqueror, it just opens the Run dialog. You need to open Konqueror with kdesu so that it runs with root permissions.
 
Old 04-25-2007, 03:10 AM   #6
jacatone
Member
 
Registered: Mar 2004
Posts: 280

Original Poster
Rep: Reputation: 30
Seems even when I do that, the Permissions in the directory files are still greyed out no way for me to work with them.
 
Old 04-25-2007, 03:27 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Since you are using Kubuntu, you can do something like
Code:
$sudo cp somefile1 /some/path/somefile1
 
Old 04-25-2007, 02:20 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Changing file ownership and permissions is much easier with a terminal. look at "man chown"and "man chmod"
 
  


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
Gaining access to internet bruteit SUSE / openSUSE 5 10-23-2006 05:05 PM
gaining root access thebiggiantmouse Ubuntu 5 09-19-2006 04:53 AM
Gaining access to Printerserver? gundestrup Linux - Hardware 8 08-07-2005 06:02 AM
Gaining access to Printerserver? gundestrup LinuxQuestions.org Member Intro 2 05-18-2004 12:54 PM
gaining access to my Windows C:/ drive spano Linux - Newbie 16 03-23-2004 12:21 AM


All times are GMT -5. The time now is 03:47 PM.

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