You are not logged in.
Pages: 1
I am trying to get a custom action into the context menu that lets me change ownership to root. The command I tried (unsuccessfully) was this:
gksu chown -R root %f%F
Has someone done this already? Any thoughts on how to do this?
TIA
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
gksu "chown -R root %F"
...works here. Seems you have to enclose the command in quotes. You only need one of %f or %F not both, and since %F allows for multiple files, its the better option.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Excellent, thanks!
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
So, to push my luck: I followed the innate human impulse to symmetry and created "Ownership to user" with this command:
gksu "chown -R .users %F"
That seemed to give mixed results: ownership was still root when I right-clicked > permissions tab, but user could edit and save. Have a better suggestion?
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Try:
gksu "chown -R $USER %F"
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
OK. Do you think these would be good additions to the Thunar - Custom page?
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Sure, it would make changing permissions to and from root easier for those that aren't familiar with the command prompt.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.011 seconds, 10 queries executed - Memory usage: 536.5 KiB (Peak: 537.34 KiB) ]