View previous topic :: View next topic |
Author |
Message |
mirivagu n00b

Joined: 06 Nov 2012 Posts: 4
|
Posted: Wed Nov 19, 2014 4:52 pm Post subject: kde, kwrite not respect root file permissions in user folder |
|
|
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 |
|
 |
lagalopex Guru


Joined: 16 Oct 2004 Posts: 545
|
Posted: Wed Nov 19, 2014 5:23 pm Post subject: |
|
|
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, 32GB EEC RAM, NVidia GeForce GTX 750 Ti, Asus M5A99X EVO R2.0 |
|
Back to top |
|
 |
mirivagu n00b

Joined: 06 Nov 2012 Posts: 4
|
Posted: Wed Nov 19, 2014 6:10 pm Post subject: |
|
|
thanks, that makes sense |
|
Back to top |
|
 |
|
|
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
|
|