new very important option - umask

Asked by grek on 2011-12-09

Hy, there is possible to add one not difficult option but verrrrry important for many users -
linux have default umask - 755 , and ok but many home users wants full share own files with other users so they need 775 default umask , (always they can change rights for some directory to 775 or 700 ) but default easier and more comfortable for normal user is 775 or 770 :)
please add menagment default umask in system.

i can send some money if sombady add this option with ssh (sftp support ) - to files created and copied with ssh sftp use system umask. (this is possible - check if user have ssh serwer add modification to ssh create files with umask rights - is possible i read it but cant setup - is difficult)

I think this is one of most important settings for many users (if user is from windows is 100 % problem)

Please HELP !! :)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Tweak Edit question
Assignee:
No assignee Edit question
Last query:
2011-12-09
Last reply:
2011-12-13
Ding Zhou (tualatrix) said : #1

Try to create a bug report prefixed with "Feature Request", then I will consider to implement this in the future.

grek (grek) said : #2

ok i add, thanks for reply,
for system umas is easy - only change umask in file
but please make for system and for ssh / shftp , if user log to private computer or mount in other computer private location they want use default umask.
I read to is possible to change umask in ssh shftp (but is very difficult for normal user) (i think you can check if openssh serwer is instaled make change to ssh serwer when user change default umask in ubuntu tweak)

here is situation :
home serwer : with family photos,
user mount photos to own computer with sftp (its easies way bether to ftp - ssh only instal and work, ftp many settings..)
user add photos to public folder so photos must have default umask settings fot this user not 755 or 700 like have ssh - creazy. ok for public serwers but for home creazy.
always they can change rights for private photo to 700 or 755 its easy but not easy always after copy to public folder changing rigjts to 775.
thanks

Can you help with this problem?

Provide an answer of your own, or ask grek for more information if necessary.

To post a message you must log in.