Community

Closed Not able to copy files between accounts folder

sm
smahi #1

Why I am not able to copy files between accounts folders even though i am logged in my root account?
Please help.

sm
smahi #3

@MyIDKaTePe
I am using CLI, unfortunately the command did not succeed because of a permission issue even when I use a sudoer user or root user. this is weird

sm
smahi #5

Even with root user I get the following error

root@xyz:/home/foo# cp blah-blah-file-202204091800.zip /home/bar/
cp: cannot create regular file '/home/bar/blah-blah-file-202204091800.zip': Operation not permitted
sh
shoaibkk #7

cp command will work for this change the user directory to root also show me the folder permissions.

sh
shoaibkk #8

@MyIDKaTePe we will announce soon that while it is coming in 2.2.0 or 2.1.3

sm
smahi #9
root@xyz:/home# ls -lh

drwx--x--x 6 bar  bar  4.0K Apr  8 06:01 bar
drwxr-xr-x 8 foo      foo      4.0K Apr 10 08:06 foo

root@xyz:/home/foo# ls -lh

-rwxrwxr-x 1 bar bar 1.9G Apr  9 18:02 blah-blah-file-202204091800.zip

sm
smahi #10

Changing the file/directory attributes fixed the issue

$ chattr -i -a .

for more info

$ man lsattr
$ man chattr

This topic is closed to new replies.