LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-08-2003, 09:41 AM   #1
dbergan
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Setuid problem - gnupg


I'm trying to have my web server encrypt some information (using gpg) and email it to me, but I'm getting a permission denied error.

I have the setuid bit set (using "chmod 4755 gpg"), so I assumed that when my cgi script calls gpg that it would have root permissions on the file system.

When I change the permissions on the gnupg directory everything works ok.

So, is there a problem, or is my understanding of setuid incorrect?

Thank you!
Dan
 
Old 12-08-2003, 10:40 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Your understanding of setuid is correct.

I can't tell you categorically that there's no problem but that is how I have my system set up.

John
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setuid int0x80 Linux - Security 3 12-02-2005 01:33 PM
setuid Help devinWhalen Linux - General 2 12-03-2003 09:57 AM
problem with gnupg between linux / windows shadow.blue Linux - Software 0 07-26-2003 03:36 AM
Setuid SirTurbo Linux - General 1 03-26-2003 06:57 PM
Kmail + GnuPG problem unsane Linux - Software 0 06-25-2002 07:38 AM


All times are GMT -5. The time now is 08:28 PM.

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
Open Source Consulting | Domain Registration