For years I've kept a local repo on NAS so that I can update several systems without having to download everything for each one.  The drives on the NAS are formatted as ntfs for communication with Win systems.  Now I'm getting all kinds of file attributes problems  with rsync transferring the files from the dnf updates directory to the packages file on the NAS. "find . -print|cpio ---" still works and appropriately transfers the new files with their attributes although with complaints about transfer of the permissions on the files.    However, createrepo gets into trouble and gives errors of the form

C_CREATEREPOLIB: Warning: Cannot copy Packages/repodata/1f3b3f3f1e6f83cd3ce15c483203d0233352bef2c1fb9bdc84cf264c24637984-other.sqlite.bz2 -> Packages/.repodata/1f3b3f3f1e6f83cd3ce15c483203d0233352bef2c1fb9bdc84cf264c24637984-other.sqlite.bz2: cp: preserving permissions for ?Packages/.repodata/1f3b3f3f1e6f83cd3ce15c483203d0233352bef2c1fb9bdc84cf264c24637984-other.sqlite.bz2?: Permission denied : Child process exited with code 1 C_CREATEREPOLIB: Warning: Cannot copy Packages/repodata/3ab748ea9b0272e92fe69078cf2dfc11a728656f1b6a4ca0a61a861e17c89b64-filelists.xml.gz -> Packages/.repodata/3ab748ea9b0272e92fe69078cf2dfc11a728656f1b6a4ca0a61a861e17c89b64-filelists.xml.gz: cp: preserving permissions for ?Packages/.repodata/3ab748ea9b0272e92fe69078cf2dfc11a728656f1b6a4ca0a61a861e17c89b64-filelists.xml.gz?: Permission denied : Child process exited with code 1 C_CREATEREPOLIB: Warning: Cannot copy Packages/repodata/4da1215cadf7eca76485c8e9ddf17ba687f6ade39b36a75eea40315f344e4663-filelists.sqlite.bz2 -> Packages/.repodata/4da1215cadf7eca76485c8e9ddf17ba687f6ade39b36a75eea40315f344e4663-filelists.sqlite.bz2: cp: preserving permissions for ?Packages/.repodata/4da1215cadf7eca76485c8e9ddf17ba687f6ade39b36a75eea40315f344e4663-filelists.sqlite.bz2?: Permission denied : Child process exited with code 1


Makes no difference whether the repodata and .repodata directories pre-exist or not.  The NAS local repo is not usable. The files can be migrated to a local system drive and a working repo created.  Totally defeating the idea of having a single set of files usable from multiple systems.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to