Re: gphoto as user



"Sarel J. Botha" wrote:
> 
> On Wed, Oct 20, 1999 at 09:45:00PM +0200, Zeke wrote:
> > When Iīm running gphoto (leatest RPM) as user I canīt config or download
> > picīs from my camera olympus C840, as root itīs no problem. I have
> > "chmod  775" all files in gphotos directory but it doesnīt help. Any
> > ideī on how to get it working as user?
> 
> chmod 775 would make it user and group readable, writable and executable.
> User and group are probably root. What will work though is to do:
> "chmod +s binary" where binary is the name of the program's binary. This
> will make the program run as root whenever you execute it, even if you're
> not root.

Ick. Don't setuid root any apps which you don't trust explicitly. GNOME
apps most certainly do not fall under this category (as not one has been
audited for such a use). You should find out which device (/dev/*)
corresponds to the camera and give yourself write permissions on that
instead (as this is much safer than making a GUI app setuid root).

    Jim Cape
    http://www.jcinteractive.com

    "Men occasionally stumble over the truth, but most of them
     pick themselves up and hurry off as if nothing had happened."
        -- Winston Churchill



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]