Saturday 3 February 2018

Linux directory permission inheritance for new files created

ive following folder


 drwxr-xr-x   7 root root 45056 Nov 25 12:39 data

which include sub dirs and files its all 755 ,


but when i create new file inside these dir its get permission


-rw-r--r-- 1 root root    0 Nov 28  2013 new

how to make new files create in these dir take 755 without doing it manually i tried chmod g+s and nothing happen ,


anytips

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...