[Voyage-linux] setgid: Operation not permitted

Adrian Reyer (spam-protected)
Wed Oct 12 22:50:15 HKT 2011


On Wed, Oct 12, 2011 at 11:38:11AM +0100, themrorange at gmail.com wrote:
> Unfortunately I cannot reinstall voyage since that machine is running some tests for my WSN and I cannot stop it for more than 20 min

Bad.

> Anyway I want to fix the problem so I need a better understanding of the matter in case. Can you please suggest me any wiki or tutorial where I can learn how to manage access permission?

I really think the fastest way to fix this is to reinstall as root.
If you really thing you can't reinstall this specific box, you can
reinstall some other box (even a virtual one), list all permissions of
it and apply them on the broken box.
I would do this with the tools 'find' to read the files/permissions,
'chown' and 'chmod' to set them, if I really had no choice.
Depending on what data and sort of filenames you have on the box, you
can run in many different problems with quoting, non-7bit-characters,
different uid/gid. That is, if you managed to parse the permissions of
e.g. 'find -ls' in a way to be useable for chmod, at all. As you state
you are new to these things I really suggest to reinstall and choose a
less steep learning curve.
Alternatively, maybe someone already published a tool to clone
permissions. Google 'linux clone permissions' found some hints, never
tried one of them.

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart




More information about the Voyage-linux mailing list