Skip to main content

All Questions

Tagged with
1 vote
0 answers
79 views

Why does the umask not change as expected in Ubuntu 24.04?

When I create a directory or a file in my website directory (/var/www) with sFTP on Ubuntu 24.04 the chmod is 775 for directories and 664 for files. I would like the permissions to be 755 and 644. I ...
Matthijs's user avatar
2 votes
0 answers
188 views

ssh-keygen creates private key with incorrect permissions

When using ssh-keygen without any arguments to generate my ssh keys, it generates both the public and private keys with 644 permissions, making the private key too open to be used. I am running Ubuntu ...
zogden's user avatar
  • 21
0 votes
0 answers
327 views

if my umask is 0002 then why does `mkdir dirname` create directories with drwxrwxr-x permission?

If my umask is 0002 then why does mkdir dirname create a directory with drwxrwxr-x permission? I should think that it would create it with d-------w- permission.
neubert's user avatar
  • 7,232
1 vote
0 answers
373 views

SVN export yields different file permissions on 2 systems with same umask

I have a machine with Ubuntu 10.10 and a machine with Ubuntu 11.10. When I do a svn export on the 10.10 machine, this gives all directories a 755 permission. The 11.10 machine sets the directories to ...
Jouke Waleson's user avatar