Re: redirecting out of a command invoked by sudo fails

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

 




On 06/25/2010 12:49 PM, Mikkel was caught red-handed while writing::
> On 06/25/2010 01:38 PM, JD wrote:
>    
>> cd /var/lib
>> sudo tar cjf - rpm>  rpm.tar.bz2
>> sh: rpm.tar.bz2: cannot create [Permission denied]
>>
>> My username is in /etc/sudoers:
>> jd      ALL=(ALL)       NOPASSWD: ALL
>>
>> Yeah... I know it is not safe to set NOPASSWD and all that...
>> but that is not why I am asking about.
>>
>> Is this an established legacy behaviour of sudo?
>>      
> Dumb question - does your user have write permission in the
> directory you are trying to create rpm.tar.bz2 in?
>
> Or am I misunderstanding what you are trying to do, and you want
> rpm.tar.bz2 to be owned by root?
>
> Mikkel
>    
Issue already very well explained by Bill Crawford.
No need for any followups.

Cheers,

JD
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux