In /etc/profile /etc/csh.login etc. change the umask from 022 to 026. On
SUSE the default is 022 which says the default permissions for creating
non-executable files is the exclusive or 022 against 666 -> 644.
Changing it to 026 should give you 640 -> rw-r-----.

-----Original Message-----
I've asked a simular question before this and the concensus was to use
ACL instead of permissions, but...

The default permissions defined when a file is created, seems to be
+644.

This allows any Linux user to read the file, even the user isn't the
owner or isn't a member of the same group.  That's not too good.

I would like to change something, somewhere, so that for certain users,
any files they create have permissions set to something like +640, or
perhaps +600.

I can keep FTP users from changing to someone else's directory and
reading.
Samba and Putty users seem to have the unrestrictive ability to change
directories to other users.  If I can't keep them from changing to
someone elses directory, I would like to at least stop them with a
permission of zero for "other" users. 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to