Cross-Compile Qt Creator for Orange Pi One
-
Hi,
I am trying to cross-compile qt5 for Orange Pi One V1.1,
I am currently in the process of pulling the files on the Orange Pi to my own(ubuntu) machine.
After running 'rsync -avz opi@192.168.0.26:/lib/ sysroot/lib' in terminal, I get this error.Error Line;
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.1]Which solutions can you suggest me about this issue?
Thank you
-
[Solved]
The file cannot be synchronized because the smbspool_krb5_wrapper file in the /lib/arm-linux-gnueabihf/samba/ directory does not have permission to access it.
To solve this, we have to run the command
chown opi:opi /lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper
in Orange Pi Terminal. -
Hi
Does it list some files over that error ?It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.
-
Hi
Does it list some files over that error ?It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.
@mrjj It does not list any files.
-
@kutluyigitturk said in Cross-Compile Qt Creator for Orange Pi One:
rsync
Hmm
odd
try with
rsync -avz --no-perms --no-owner --no-group xxx
and see if that works. -
Hi
Does it list some files over that error ?It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.
@mrjj I ran this line in terminal; rsync -av opi@192.168.0.26:/lib/ sysroot/lib
These are the outputs I got in the end;
receiving incremental file list
rsync: send_files failed to open "/lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper": Permission denied (13)sent 2,343 bytes received 496,904 bytes 90,772.18 bytes/sec
total size is 1,615,483,518 speedup is 3,235.84
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.3]I guess, access to some files is blocking.
-
@mrjj I ran this line in terminal; rsync -av opi@192.168.0.26:/lib/ sysroot/lib
These are the outputs I got in the end;
receiving incremental file list
rsync: send_files failed to open "/lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper": Permission denied (13)sent 2,343 bytes received 496,904 bytes 90,772.18 bytes/sec
total size is 1,615,483,518 speedup is 3,235.84
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.3]I guess, access to some files is blocking.
Hi
Good found.
Yes I agree even its a bit odd rsync is not allowed to copy but
can be owner is root and rsync is ordinary user. -
Hi
Good found.
Yes I agree even its a bit odd rsync is not allowed to copy but
can be owner is root and rsync is ordinary user.@mrjj How to fix 'Permission denied' on specific directory? Do you know anything about this?
-
Hi,
Did you check the permissions on the target ? What are they ?
Since you are copying files from system folders, you might want to connect as root to the device.
-
[Solved]
The file cannot be synchronized because the smbspool_krb5_wrapper file in the /lib/arm-linux-gnueabihf/samba/ directory does not have permission to access it.
To solve this, we have to run the command
chown opi:opi /lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper
in Orange Pi Terminal. -
I would argue that this is the wrong solution. You are making what looks like an admin only command available to a standard user.
-
I would argue that this is the wrong solution. You are making what looks like an admin only command available to a standard user.
@SGaist If there is another way for a standard user to access the folder in this directory, please specify.
-
No, hence my suggestion to connect as root for the copy, you can then change the permissions on your development machine.