Artificial intelligent assistant

Modify permissions / immovable folder w/o chattr I have a server where I have folders to be shared over local network (like Photos, Music etc.). I did the following: cd /volumes1/Family/Photos touch .chattrlock sudo chattr +i .chattrlock Now I cannot delete the folder "Photos" but I can still move it within the Family Share. Is there a way to prevent the Folder from being moved inside the share? The folder's permissions should stay `rwx`.

If a folder itself is not immutable but one or more files inside of it are then you can't delete it but you can, in fact, move or modify it.

If you want to make it so that the `Photos` folder itself can't being moved or deleted but you still want to create files inside of it then you'll need the following command:

`chattr +a Photos`

That will make it so that the folder can't be renamed, moved, or deleted but will allow you to create and modify files inside of it unless the files themselves are immutable. If you want to delete files inside then you'll need to first `chattr -a Photos` and then `chattr +a Photos` after you're done.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 7f35b86725b0334805ba7f02e86f5ca0