LIGISTX
Guru
- Joined
- Apr 12, 2015
- Messages
- 525
I am trying to figure out how to force newly created files within a directory to gain the permissions in the parent directory. I am thinking ACL's is the solution from a bit of googling, but I am not sure and not familiar with that. More googling im sure would help, but is this what I am looking for?
The reason: I use syncthing to copy data from computer to computer and it appears as though any file it creates gets 755 and I would rather it be 770 like the parent directory. In all honesty, no this isn't a huge issue, I am the only person using the freenas box, but I am using this as a way to learn how all this stuff works. Probably should be learning on a non-"production" box, but I will likely set up a little linux testing environment soon.
Syncthing is running in a jail, so it is running under freebsd, not sure if that means there is an "easy" way for it to adhere to the parent permissions.
Also, I notice that files I manually create are not inheriting permissions either. Is that normal?
Thanks.
The reason: I use syncthing to copy data from computer to computer and it appears as though any file it creates gets 755 and I would rather it be 770 like the parent directory. In all honesty, no this isn't a huge issue, I am the only person using the freenas box, but I am using this as a way to learn how all this stuff works. Probably should be learning on a non-"production" box, but I will likely set up a little linux testing environment soon.
Syncthing is running in a jail, so it is running under freebsd, not sure if that means there is an "easy" way for it to adhere to the parent permissions.
Also, I notice that files I manually create are not inheriting permissions either. Is that normal?
Thanks.