Ok, thank's. With umask I can do what I want.
Originally Posted by MTK358
NTFS does not support permissions.
And if "nobody" creates a file, do you want "nobody" to be able to delete the file he created?
But on windows, on NTFS formated hard disk, you can set access right for each user. My question is: Can we do the same thing on Linux? Because normally "u" is for the owner, the "g" for the groupe and "o" for others.
All I ask is bound. Because I make a Samba share on a folder containing many files. The shared folder contain a website with video file and the owner of each file is "www-data" and his group "www-data". But I want to share this folder with Samba. I would like to add a user in the rights of video files for him to see. The file. Html,. Php. Css, ... must be invisible to the user.
How can I do that?