[Bug 204577] Re: private homedirs and separate XDG_PUBLICSHARE_DIR (/home/share/username)

2009-12-10 Thread ifj. Kalman Tarnay
This bug is (not surprisingly) also present in the server versions of
Ubuntu. I don't think such a default behavior is acceptable in a server
distro.

Actually I don't even think it is acceptable in a desktop distro.

One can change whether newly created home folders are world-readable or not:
sudo dpkg-reconfigure adduser

-- 
private homedirs and separate XDG_PUBLICSHARE_DIR (/home/share/username)
https://bugs.launchpad.net/bugs/204577
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 204577] Re: private homedirs and separate XDG_PUBLICSHARE_DIR (/home/share/username)

2009-11-25 Thread ceg
** Summary changed:

- The default umask should be set to 077. XDG_PUBLICSHARE_DIR should have umask 
022
+ private homedirs and separate XDG_PUBLICSHARE_DIR (/home/share/username)

** Description changed:

  Your homedir should be private but there should be a special public
  readable folder where you can put files you want to share with other
- users of the same machine.
- 
- In other words :
- The default umask should be set to 077. XDG_PUBLICSHARE_DIR should have umask 
022 
+ users of the same machine. (for example /home/share/username)
  
  RATIONALE :
  * the files in your home dir should not be read by others unless you give 
others permission to do so (privacy and security issue)
  * with this solution people have an easy way of giving others permission to 
read their files
  
  IMPLEMENTATION DETAILS :
+ XDG_PUBLICSHARE_DIR is defined in ~/.config/user-dirs.dirs and is set to 
$HOME/Public by default.
+ https://wiki.ubuntu.com/MultiUserManagement
  
- The default umask should be set to 077 (in /etc/profile)
- The default umask for XDG_PUBLICSHARE_DIR should be set to 022
+ (Originaly this Bug talked about setting specific umasks for directories
+ (not supported with standard linux) and did not consider user private
+ groups allowing a default umask of 002 and sgid group directories.)
  
- XDG_PUBLICSHARE_DIR should be chmodded to 755 to ensure everybody can
- read the contents of this folder.
- 
- XDG_PUBLICSHARE_DIR is defined in ~/.config/user-dirs.dirs and is set to
- $HOME/Public by default.
- 
- brainstorm link : http://brainstorm.ubuntu.com/idea/5287/
+ original brainstorm link : http://brainstorm.ubuntu.com/idea/5287/

-- 
private homedirs and separate XDG_PUBLICSHARE_DIR (/home/share/username)
https://bugs.launchpad.net/bugs/204577
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs