Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8766  / 2 Years ago, thu, december 16, 2021, 12:15:23

I have two users, and one of them can't write to his home directory (but the desktop directory?!) and Thunar displays a lock on the home folder. However, if I run ls -l in /home, I get



drwxr-xr-x 28 habefaro habefaro 4096 Mär  4  2013 habefaro
drwxr-xr-x 22 psirus psirus 4096 Apr 4 16:52 psirus


So I can't see the difference?! Btw, habefaro is the user who can't write to his home folder.



EDIT: Running sudo lsattr -d /home/habefaro gives



----i--------e-- habefaro/

More From » permissions

 Answers
0

Based on the lsattr output, the user's home directory has been marked as immutable which will mean that no files or directories may be added or deleted. You should be able to unset the immutable attribute using chattr i.e.



sudo chattr -i /home/habefaro/

[#26197] Saturday, December 18, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ickump

Total Points: 234
Total Questions: 124
Total Answers: 111

Location: Jordan
Member since Fri, Apr 8, 2022
2 Years ago
ickump questions
Mon, Aug 16, 21, 08:46, 3 Years ago
Mon, Aug 22, 22, 02:44, 2 Years ago
Sun, Oct 2, 22, 07:13, 2 Years ago
;