Originally Posted by Kustom42
Just set your umask to 000 in your .bashrc file, you should be good. Keep in mind that some people consider this to have some security implications due to the write permission for the all users set.
Thank you so much for getting back to me as I remain a little confused but as you mentioned the .bashrc I think I may be gaining some understanding.
Am I right to say that the .bachrc umask setting sets the default for the system? The umask I was applying was to a mounted external drive. Initially the usmask was 022 and that was given to me it set the permissions to 555. I knew the umask was important for the permissions as I had to deal with it in vsftpd.conf (changed to Pure-Ftp).
That tutorial talks about subtracting the umast value, must have some relation to the system, am I correct?
The umask of 000 has given me 777 on directories and files. That's OK it works but I guess security should not be compromise anywhere. The External drive I have connected also has a samba share and that allows reading and writing to anyone on the Windows box. That is OK.
So setting the umask on the drive the value has some relation to the umask for the system. Would you have a minute to explain that to me and why I got the permissions of 777.
Thank you so much