Fedora 17에서 Sudo yum 권한이 거부되었습니다.

Fedora 17에서 Sudo yum 권한이 거부되었습니다.

Fedora 13의 /etc/sudoers에는 다음 줄이 있었습니다.

Cmnd_Alias      SOFTWARE=/usr/bin/yum

그런 다음 자신의 RPM 패키지를 설치할 권한이 있는 사용자에 대해 다음을 입력하십시오.

david          somehost=SOFTWARE

문제 없이 yum을 실행하고 패키지를 설치할 수 있습니다.

이제 F17로 업그레이드했는데 다음 예제에서 "clang" 패키지를 설치하려고 시도하는 것처럼 문제가 발생했습니다(권한이 거부됨).

=========================================================================================================================================================================================  
Package                                 Arch                           Version                                          Repository            Size
========================================================================================================================================================================================= 
Installing:  clang                                   x86_64           
3.0-13.fc17                                      local-updates                                   7.0 M 
Installing for dependencies:  llvm                                    x86_64                                   3.0-13.fc17                   local-updates                                   1.1

Transaction Summary
========================================================================================================================================================================================= 
Install  1 Package (+1 Dependent package)

Total download size: 8.1 M Installed size: 26 M 
Is this ok [y/N]: y 
Downloading Packages: 
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)   
  File "/usr/share/yum-cli/yummain.py", line 319, in user_main
    errcode = main(args)   
  File "/usr/share/yum-cli/yummain.py", line 227, in main
    return_code = base.doTransaction()   
  File "/usr/share/yum-cli/cli.py", line 559, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)    
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2313, in downloadPkgs
    urlgrabber.grabber.parallel_wait()   
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2259, in parallel_wait
    start(opts, 1)   
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2148, in start
    dl.start(opts)   
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2080, in start
    dl = _ExternalDownloader()   
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2003, in __init__
    stdout = subprocess.PIPE,   
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)   
  File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception 
OSError: [Errno 13] Permission denied

보고된 Python 스크립트 /usr/lib64/python2.7/subprocess.py는 사용자가 읽을 수 있습니다(rw-r--r-- 포함).

어떤 팁이 있나요?

관련 정보