LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-08-2014, 11:28 PM   #1
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Rep: Reputation: 15
Running reposync through unprevilidged user.


Is there anyway to run reposync through an unprevilidged user (ie non root)? reposync plugs into yum, which in turn is installed as root on most systems. So calling reposync as an unprevilidged user inevitably tries to write to or read from /var/cache/yum/ which returns in Permission Denied [Errno 13].

Cheers,
DH
 
Old 02-15-2014, 05:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Not really I think. If a periodical refresh would do then you could run it as a cron job, else you could give an unprivileged user rights to run the exact command you need with Sudo?
 
  


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
LXer: Download Yum CentOS Repositories Locally using reposync Command LXer Syndicated Linux News 0 05-20-2013 12:40 PM
Reposync fails when trying to download packages from Red Hat sam.m Linux - Newbie 9 05-22-2012 10:20 AM
RHEL 6.2 reposync not working bits45 Linux - Enterprise 1 02-15-2012 05:21 PM
Processes running while we create a new user and the user logs in rahulchandrak Linux From Scratch 3 05-07-2010 11:09 PM
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 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
Open Source Consulting | Domain Registration