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.
|
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 |
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'.
|
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.
|
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.
|
Seems even when I do that, the Permissions in the directory files are still greyed out no way for me to work with them.:scratch:
|
Since you are using Kubuntu, you can do something like
Code:
$sudo cp somefile1 /some/path/somefile1 |
Changing file ownership and permissions is much easier with a terminal. look at "man chown"and "man chmod"
|
All times are GMT -5. The time now is 10:19 PM. |