Changing permission of a file in a module does seem effective.
I have built a print module in which I have change a script to executable:
/mnt/sda5/64_V32/porteus/modules/printing-3.2-lite/etc/rc.d/rc.cups
Once the directory is transformed to a xzm module, it will load perfectly, except that the permission will not be reflected in the folder tree of the system.
If I xzm2dir the print module the permission is set to executable.
What is going on here?
Do I have to use rootcopy instead?
http://www.porteus.org/tutoriels/26-gen ... ctory.html
Thanks for bringing light on that issue.
Changing permission of a file in a module: not effective
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Changing permission of a file in a module: not effective
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Changing permission of a file in a module: not effective
Changing the module name with a z:
printing-3.2-lite
does not make a differince.
printing-3.2-lite
does not make a differince.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Changing permission of a file in a module: not effective
I just did a quick test.
The file /test.txt shows as executable. Perhaps you have another file in rootcopy or a module that loads later that is overwriting it?
Code: Select all
mkdir /tmp/mod
echo test > /tmp/mod/test.txt
chmod +x /tmp/mod/test.txt
dir2xzm /tmp/mod /tmp/module.xzm
activate /tmp/module.xzm quiet
ls -l /
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Changing permission of a file in a module: not effective
That is what I thought. I have tried to load the module last with z at the end.
I will review once more.
I will review once more.
Prendre son temps, profiter de celui qui passe.