[Yum] Must yum-arch run as root?

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

 



Dear Seth,

seth vidal wrote:

> > Error moving headers to .oldheaders, fatal
>
> yum-arch doesn't need to run as root, in fact, I almost never run it as
> root.

Excellent.

> So this seems just like a permissions problem on your directory.
>
> Try this for me in that dir as that user:
>
> mkdir foo
> mv foo notfoo

$ ls -l
total 40
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 athlon
drwxrwsr-x    3 nicku    nicku        8192 Aug 27 17:33 headers
drwxrwsr-x    3 nicku    nicku        8192 Aug 28 07:31 i386
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 i586
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 i686
drwxrwsr-x    3 nicku    nicku        4096 Aug 11 22:00 noarch
drwxr-sr-x    3 nicku    nicku        4096 Jun  5 07:49 oldpackages
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 SRPMS
[nicku@nicksbox] /var/ftp/pub/redhat-9/updates
$ mkdir foo
[nicku@nicksbox] /var/ftp/pub/redhat-9/updates
$ mv foo notfoo
[nicku@nicksbox] /var/ftp/pub/redhat-9/updates
$ ls -l
total 44
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 athlon
drwxrwsr-x    3 nicku    nicku        8192 Aug 27 17:33 headers
drwxrwsr-x    3 nicku    nicku        8192 Aug 28 07:31 i386
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 i586
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 i686
drwxrwsr-x    3 nicku    nicku        4096 Aug 11 22:00 noarch
drwxrwsr-x    2 nicku    nicku        4096 Aug 28 10:51 notfoo
drwxr-sr-x    3 nicku    nicku        4096 Jun  5 07:49 oldpackages
drwxrwsr-x    3 nicku    nicku        4096 Aug 28 07:31 SRPMS

> do those commands succeed?

Yes.

Notice that I have made the directories set group ID.  Is that a problem
for yum-arch?

--
Nick Urbanik   RHCE                               nicku(at)vtc.edu.hk
Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
Tel:   (852) 2436 8576, (852) 2436 8713          Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B     ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24   ID: BB9D2C24




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux