Re: Permission Problems on NAS
On 02/05/2018 09:43 PM, Robert McBroom wrote: Curious things. Using a LINKSYS AC3200 router as the server for the NAS. Can connect the NAS either as usb or esata. Swapped from the usb to the esata line and createrepo worked. That's good for you. But I'm still curious about what was failing. :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Permission Problems on NAS
On 02/04/2018 04:27 PM, Samuel Sieb wrote: On 02/04/2018 12:02 PM, Robert McBroom wrote: 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 I would suggest running createrepo with strace to find out exactly which operation is failing. strace -s200 -f -o /tmp/createrepo.trace createrepo . This will create a lot of output in the file /tmp/createrepo.trace. Search through it for the "Cannot copy" text and somewhere before that should be the failing syscall. If you can't find it, then upload the trace file somewhere and I'll look at it. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Samuel Curious things. Using a LINKSYS AC3200 router as the server for the NAS. Can connect the NAS either as usb or esata. Swapped from the usb to the esata line and createrepo worked. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Permission Problems on NAS
On 02/04/2018 12:02 PM, Robert McBroom wrote: 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 I would suggest running createrepo with strace to find out exactly which operation is failing. strace -s200 -f -o /tmp/createrepo.trace createrepo . This will create a lot of output in the file /tmp/createrepo.trace. Search through it for the "Cannot copy" text and somewhere before that should be the failing syscall. If you can't find it, then upload the trace file somewhere and I'll look at it. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Permission Problems on NAS
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