-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 23 Oct 2003 6:04 am, Stephen Liu wrote:
> Hi all folks
>
> 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

Is there a particular reason why you need/would like to run kmail as root?

Sudo lets you run a process as suid root, but it specifically doesnt allow you 
to write to root owned files and directories (with the permissions set 
sanely) as it would be a security problem.

> # 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

Yes, the symlinks have '777' permissions, but /root/ wouldnt (shouldnt.!).

- -- 
        Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/l4XqzrmqzOOQUj8RAo34AJ9kZlVv5jxv5AoEyG4nLzDZs1Mk0gCgh0Nj
v4rlkKDL8KzFgvZFq9/Esgo=
=G0gW
-----END PGP SIGNATURE-----


--
[EMAIL PROTECTED] mailing list

Reply via email to