Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I move files from a private home directory (e.g. /home/jack) to a shared directory (e.g. /home/shared-school) Nautilus copies the file permissions from the original file into the shared directory - and ignores the ACL that I've put in the /home/shared-school directory (e.g. setfacl -R -m d:g:school:rwx /home/shared-school).

Is it possible to force Nautilus to change ACL on a file that is moved or copied - or not to ignore the ACL on the directory where the files are moved or copied?

share|improve this question
    
It seems that this is only a problem when you move a file - it's the same with the mv command. –  MyOnlyEye May 11 '10 at 5:54

2 Answers 2

We had the same problem and couldnt really find a way to fix this. So i wrote a small utility on my own to observe such folders and set the right permissions. See: https://hadler.me/python/linux-acl-observer/

It works very well for us, even for alot of files. If you want give it a try.

share|improve this answer

Keep in mind that when you move a file to a location within the same file, the inodes get modified to reflect the new location. The contents of the file do not actually get moved. Contrast this with moving a file to a new location. In that situation, the mv command must use new inodes, copy the data, then clean up the old file system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.