LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-03-2009, 06:52 PM   #1
realbezo
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
i cannot copy a file to a folder in file system with my root account


i think i have a problem with my root account. i open a terminal and i execute nautilus with root permissions through "sudo nautilus" or "gksudo nautilus" command. Then i try to copy just from my home folder some files to a folder in file system (to /usr/share/stardict/dic folder) and when i do right click, i cannot see active paste option, also ctrl+v doesn't work. my question is if root cannot copy files to file system, who does it? it has to be simple but i don't understand this, is it related to file permissions? And why don't have root every rights to do something?
 
Old 03-03-2009, 06:55 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,079

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
it might not be a permissions issue i've had similar problems in konqueror where it simply takes a few tries to recognize the copy command
try opening two windows, one with the source and one with the destination and dragging the files from the source window to the destination and see what happens
 
Old 03-03-2009, 08:15 PM   #3
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
My understanding of sudo is that it launches the application as belonging the the current user, only that the permission levels are extended. Even so, it is NOT a real root-launched tool.

Maybe try to switch to root in a terminal with the simple 'su' command, and then launch Nautilus as root. In this case a full root login happens with all the bashrc files read in and correct $PATH - only difference is that the /sbin directory will not be in your path when logged via su.

Give some feedback if this makes a difference on your Linux box.

----------
T74marcell

Arch Linux

Last edited by T74marcell; 03-14-2009 at 12:47 AM.
 
Old 03-03-2009, 08:44 PM   #4
realbezo
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I think i have a problem with browsing my computer. Dragging does not work, it gives still same error, like "you do not have permission to do this" and if i try to run nautilus there is warnings but it seems it doesn't related to my problem.
(nautilus:9038): GnomeUI-WARNING **: While connecting to session manager:
None of the authentication protocols specified are supported.

(nautilus:9038): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

(nautilus:9038): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

(nautilus:9038): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
GConf warning: failure listing pairs in `/apps/nautilus/preferences': Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)


And when i try to run Konqueror it gives an error like this "Could not delete file file:///root/.kde/share/apps/konqueror/autosave/owned_by. " this is a gui error and it keeps opening when i try to close it, like a stupid windows virus. and this one comes from terminal
Qt: Session management error: None of the authentication protocols specified are supported
konqueror(9177) KToolInvocation::klauncher: klauncher not running... launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
klauncher(9187) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
konqueror(9177): No ksycoca4 database available!

konqueror(9177): No ksycoca4 database available!

konqueror(9177) KToolInvocation::klauncher: klauncher not running... launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
klauncher(9229) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
konqueror(9177): Couldn't start knotify from knotify4.desktop: "KLauncher could not be reached via D-Bus. Error when calling start_service_by_desktop_path:
empty
"

konqueror(9177): No ksycoca4 database available!
konqueror(9177): No ksycoca4 database available!
........ same way it was going until i closed the terminal
maybe this seems related... Can someone help me...
By the way i have Ubuntu 8.10 desktop version...

Last edited by realbezo; 03-03-2009 at 08:52 PM.
 
Old 03-03-2009, 10:45 PM   #5
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: always back to Fedora
Posts: 241

Rep: Reputation: 50
How about this :-

$ su
enter root password ....

# cp /home/username/filename /usr/share/stardict/dic/

If that doesn't work, then the permissions for /usr or /usr/share or /usr/share/stardict or /usr/share/stardict/dic need attention.
 
  


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
Can't create folder in file system using file browser aarav2306 Linux - Newbie 5 03-03-2009 01:36 AM
Copy a file into another directory and keep its folder hierarchy? Zebe Linux - General 2 11-25-2008 04:47 PM
root-owned file is able to be deleted with my non-root account win32sux Linux - Security 3 11-18-2008 02:00 AM
copy a file to all subdirectories in a folder raj000 Linux - General 6 03-24-2006 03:55 AM
can copy-paste or create new file/folder, if boot from live cd gjo Linux - Distributions 3 09-17-2004 08:43 AM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration