the easiest way will be to create a new usergroup (groupadd newgroup) and put you into that group. Now you have to do
'chgrp newgroup /path/file' and 'chmod 770 /path/file'.
This should exclude other users to get access to the file.
Be careful. The file is not hidden from other users, because they have access to the folder. You have to do the same with the folder to avoid that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.