You are not logged in.
Hello,
I made a backups by following this page:
https://wiki.archlinux.org/index.php/Fu … with_rsync
Then I copied it to another computer, edited grub and fstab and it's almost works.
Commands su and sudo produces:
Cannot set groups, operation not allowed.
Maybe I must change permission of some file in system, because I backup system first to ntfs disk.
And I copied it as root, so it have only root permissions. But I don't know which files must I change.
Thanks
Last edited by KSJ (2013-07-21 18:40:59)
Offline
Have you tried googling the error message + is this the exact error message?
http://serverfault.com/questions/176137 … roups-mean gives some hints, although I'm not sure if they're all applicable to Arch.
Offline
No, this doesn't work, but i found it.
# chmod u+s /bin/su
# chmod u+s /usr/bin/sudo
This works
Offline
That's what I meant, as you were using su and sudo and not runuser :-)
I have no idea why you were missing the sticky bit though.
Please remember to mark the thread as solved.
Offline
Maybe I must change permission of some file in system, because I backup system first to ntfs disk.
And I copied it as root, so it have only root permissions. But I don't know which files must I change.
Best not to try. If you backed up to NTFS, the best thing to do is to reinstall and then copy over stuff from your home, crucial config files etc. You will need to adjust ownership and permissions appropriately for everything you copy over from the backup.
NTFS does not preserve ownership and permissions.
Of course, if you still have your original installation, you can make a new backup instead. Just make sure to use a suitable filesystem.
Last edited by cfr (2013-05-24 00:52:17)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
As cfr has said, backing up a *nix system to NTFS is bad due to the lack of posix permissions support within NTFS. Your ownership and permissions will not be retained. The lack of permissions is what caused your problem in this instance. You could backup to a tar archive (using the -p option) which would preserve this information within the tar, but using rsync to copy file-for-file won't work.
Plus, NTFS
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
A trick that I use when rsyncing to an NTFS disk is to make a truecrypt volume on the NTFS disk that is formatted as ext4. The volume is easily mountable, and you get encryption too.
Offline
thanks, now when I need backup, i use tar and --preserve
Offline