Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde, kwrite not respect root file permissions in user folder
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mirivagu
n00b
n00b


Joined: 06 Nov 2012
Posts: 4

PostPosted: Wed Nov 19, 2014 4:52 pm    Post subject: kde, kwrite not respect root file permissions in user folder Reply with quote

as root create test.txt in my home folder and exec:
ls -l test.txt: -rw-r--r-- 1 root root 0 nov 19 10:31 test.txt
chown username:username test.txt: operation not permitted
chroot +x test.txt: operation not permitted
edit with nano an save: permission denied
i tink it is a normal behavior, but if open and edit with kwrite, it save ok, and the file owner change to user_name:user_name.
it's normal??

ACCEPT_KEYWORDS="~amd64"
kde 4.14.2.
not overlays.
sorry for my bad english.
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 544

PostPosted: Wed Nov 19, 2014 5:23 pm    Post subject: Reply with quote

Yes, kwrite does not edit the file but save it as a tempfile, remove old one and rename temp.
(Removing as user is still possible as its your folder.)
_________________
System: AMD FX 8350, 16GB RAM, NVidia GeForce GTX 750 Ti, Asus M5A99X EVO R2.0
Back to top
View user's profile Send private message
mirivagu
n00b
n00b


Joined: 06 Nov 2012
Posts: 4

PostPosted: Wed Nov 19, 2014 6:10 pm    Post subject: Reply with quote

thanks, that makes sense
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum