Re: Problem of install tarball packages

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

 



On Sat, 2008-09-27 at 10:26 +0800, edwardspl@xxxxxxxxxx wrote:
> Craig White wrote: 
> > On Sat, 2008-09-27 at 01:43 +0800, edwardspl@xxxxxxxxxx wrote:
> >   
> > > Aldo Foot wrote:
> > >     
> > > > On Fri, Sep 26, 2008 at 10:13 AM, Craig White <craigwhite@xxxxxxxxxxx> wrote:
> > > >   
> > > >       
> > > > > On Sat, 2008-09-27 at 01:10 +0800, edwardspl@xxxxxxxxxx wrote:
> > > > >     
> > > > >         
> > > > > > Aldo Foot wrote:
> > > > > > 
> > > > > >       
> > > > > >           
> > > > > > > On Fri, Sep 26, 2008 at 9:34 AM,  <edwardspl@xxxxxxxxxx> wrote:
> > > > > > > 
> > > > > > > 
> > > > > > >         
> > > > > > >             
> > > > > > > > Dear All,
> > > > > > > > 
> > > > > > > > How to config the sudo, then allow user A to install tarball packages with FC8 System ?
> > > > > > > > 
> > > > > > > > 
> > > > > > > >           
> > > > > > > >               
> > > > > > > You use the 'visudo' command to edit the /etc/sudoers files.
> > > > > > > Don't edit that file directly.
> > > > > > > 
> > > > > > > see this /etc/sudoers sample
> > > > > > > http://www.gratisoft.us/sudo/sample.sudoers
> > > > > > > 
> > > > > > > 'rpm' is just another command you add to the allowed commands.
> > > > > > > so for example a the CLI: "sudo rpm -Uvh someRpm.rpm',
> > > > > > > 
> > > > > > > ~af
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >         
> > > > > > >             
> > > > > > Hello Aldo,
> > > > > > 
> > > > > > Sorry, my means is tarball packages ( NOT rpm packages )...
> > > > > >       
> > > > > >           
> > > > > ----
> > > > > users don't need superuser privileges to use tar at all UNLESS they are
> > > > > trying to 'untar' into spaces where only superuser can write, in which
> > > > > case, security is out the window.
> > > > > 
> > > > > Craig
> > > > >     
> > > > >         
> > > > You're correct. How did I mix rpm and tar? My coffee was not strong
> > > > enough this morning.. ;-)
> > > > 
> > > > ~af
> > > > 
> > > >   
> > > >       
> > > Hello,
> > > 
> > > Sorry, My means is how to running the command line of "./configure",
> > > "make" and "make install" ?
> > > How to config sudo or / and linux system for it ?
> > >     
> > ----
> > users can (and should) run configure, make as users, not as super users.
> > 'make install' only needs super user privileges if the intended install
> > is to go into /usr/local but users can have 'bin' or 'sbin' directories
> > in their own space to run compiled programs that are available only to
> > that specific user and not to all users.
> > 
> > Did I mention that you are going to have nightmares if you actually give
> > users super user privileges enough times yet?
> > 
> > Craig
> Hello,
> 
> When I tried to install the tarball packages as the following :
> 
> [svradmin@svr1 proftpd-1.3.0a]$ ./configure --prefix=/usr/local/proftpd
> 
> ./configure: line 88: conf4161.sh: Permission denied
> ./configure: line 89: conf4161.sh: Permission denied
> chmod: cannot access `conf4161.sh': No such file or directory
> ./configure: line 201: conf4161.file: Permission denied
> ./configure: line 1266: config.log: Permission denied
> [svradmin@svr1 proftpd-1.3.0a]$
> 
> So, how to fix the problem ( Permission denied ) ?
> 
> Any solution for it ?
----
sure, make sure the same user/group that 'untarred' the tarball and owns
the files/folders is the one trying to run 'configure'

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux