LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2003, 04:06 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,637

Rep: Reputation: 54
Sudo starting problem


Hi all folks

Gentoo 1.4
==========

I encountered problem in using 'sudo'

# epm -q sudo
sudo-1.6.7_p5

# sudo -u satimis _kmail
trying to create local folder: Permission denied
failed to create /root/.kde/socket-mymachine
kdeinit: Aborting. _No write access to $HOME directory <root>
ERROR: KUniqueApplication: Can't setup DCOP communication

# ls -l /root/.kde/
total 1
drwx ------ 2 root _ root _ Autostart
drwx ------ 10 root _ root _ share
lrwxrwxrwx _1 root _ _root _ _ socket-mymachine -> _/tmp/ksocket-root
lrwxrwxrwx _1 root _ _root _ _ tmp-mymachine -> _/tmp/kde-root

# ls -l /root/.kde/socket-mymachine/
-rw-r-r-- _1 root _ root _ KSMServer__0
srw------- 1 root _ root _ kdeinit-:0
srwxr-xr-x 1 root _ root _ klauncherxDBXNa.slave-socket

Kindly advise.

B.R.
satimis
 
Old 10-26-2003, 06:37 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
You're trying to create a directory as a user that is not the owner of the parent directory, which won't work here. Maybe you should explain what you're trying to do in more detail.
 
  


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
sudo permissions problem cuto19 Ubuntu 8 12-01-2005 12:50 AM
Problem with sudo SwannAnderson Linux - Newbie 5 10-03-2005 08:10 PM
sudo problem drigz Linux - Software 4 06-21-2004 04:46 PM
Problem with sudo punx120 Linux - Software 0 05-08-2004 11:43 AM


All times are GMT -5. The time now is 09:26 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