View Single Post
SteveYoungs's Avatar
Posts: 79 | Thanked: 47 times | Joined on Oct 2011 @ Brisbane, AU
#7774
Originally Posted by Schturman View Post
MyDocs in normal mode is fat32 and user:users installation of n9qt create some folders in MyDocs without any problem. Try to add user:users to MyDocs like Ancelad suggested you.
His suggestion is wrong. My /home/user/MyDocs directory is already user:users, it also happens to be ext4. root cannot write to that directory so you have to use aegis-exec -u to temporarily change to user.

Code:
id -u
 => 0

touch ~user/MyDocs/foo
 => touch: /home/user/MyDocs/foo: Permission denied

aegis-exec -u user touch ~user/MyDocs/foo; ls -l ~user/MyDocs/foo
 => -rw-r--r--    1 user     users            0 Sep  9 21:38 /home/user/MyDocs/foo
Do you see now what I'm saying?