New user login
This commit is contained in:
parent
178e45c84b
commit
ac7c42eefd
11 changed files with 48 additions and 14 deletions
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/xdg-user-dirs-update
|
||||
profile xdg-user-dirs-update @{exec_path} {
|
||||
profile xdg-user-dirs-update @{exec_path} flags=(complain ) {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
|
@ -26,6 +26,16 @@ profile xdg-user-dirs-update @{exec_path} {
|
|||
/var/lib/gdm{3,}/@{XDG_TEMPLATES_DIR}/ rw,
|
||||
/var/lib/gdm{3,}/@{XDG_VIDEOS_DIR}/ rw,
|
||||
|
||||
# new user; change to 'c'
|
||||
owner @{HOME}/@{XDG_DESKTOP_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_DOCUMENTS_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_MUSIC_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_PICTURES_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_PUBLICSHARE_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_TEMPLATES_DIR}/ w,
|
||||
owner @{HOME}/@{XDG_VIDEOS_DIR}/ w,
|
||||
|
||||
owner @{user_config_dirs}/user-dirs.dirs r,
|
||||
|
||||
include if exists <local/xdg-user-dirs-update>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue