Running ark to create tar of virtual HD file (16gb). I get the following error (one of many similar errors) and I am unable to find any info on this error. I am running ark as user, not su.
ark(10414) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info'
ark(10414) KSambaSharePrivate::getNetUserShareInfo: "info_fn: file /var/lib/samba/usershares/docs is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/suse-nos is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/down is not a well formed usershare file.
info_fn: Error was Path is not a directory.
"
ark(10414): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
"
I don’t know why there is even a reference to folder /var/lib/* since it is not part of the files I am tar’g.
I am running ark from terminal and adding 2 folders. Each folder contains a total of 10 files in several folders. The task seems to complete properly.
The purpose of creating the .tar is to archive it to a fat32 partition (copy .tar to usb drive) and not lose the ownship permissions.
My interpretation of the OP’s goal is that he want to preserve ownership, etc. of the files archieved inside the tar file. Not the ownership of the tar file itself.
Thanks all for your comments. I had forgotten that there is a filesize limit on fat32 so I’ll have to review what is archived on that usb drive and look into changing it to ntfs (it is also used with XP).
Although no one specifically confirmed that the ownership would be preserved inside a .tar, the lack of a negative response implies that this will work.
No one did comment on the error’s I received.
After posting I found the samba smdb&nmdb stopped (they frequently stop on their own) and since I had not used Samba I presume those errors relate to smdb & nmdb not running. Why this should matter while running ark I have no idea but I guess it doesn’t matter. Next time I do this I’ll check samba before I make the .tar.
Yes, it will be preserved. I didn’t realize that this was a “question.”
No one did comment on the error’s I received.
After posting I found the samba smdb&nmdb stopped (they frequently stop on their own) and since I had not used Samba I presume those errors relate to smdb & nmdb not running. Why this should matter while running ark I have no idea but I guess it doesn’t matter. Next time I do this I’ll check samba before I make the .tar.
Just use the built-in tar command, it’s specifically for this purpose. I don’t know why ark is communicating with samba, but this isn’t necessary unless you’re doing this over a network. Is there some information you’re leaving out?
Thanks for cmdline. I didn’t know what it was and rather than wade through the help I just jumped on Ark (which I also haven’t used before). When I consider the time consumed by myself and everyone who read and/or answered this thread it would have been more efficient to learn the cmdline rather than use Ark.