views:

85

answers:

2

Previous Question just to understand what I'm doing: How to set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?

So if I change the chmod to 755 for chmod 75 /opt/lampp/htdocs and I restart the system I want the files to be in chmod 755.

+2  A: 

Once set, linux filesystem permissions are unaffected by rebooting the system, unless you have some non-standard software running at boot time which is going back to change them to some default.

sleepynate
Hmm I'm on Windows 7 with `VirtualBox` because currently I'm testing something, do you think it's because of `VirtualBox` and If I will use a real Linux will save the changed chmod?
CIRK
a) I'm positive that file permissions are persistent on a standard linux install b) are you sure you're not starting from a snapshot of your virtualbox instance where the permissions are not set? Try taking a new image of your machine after they're set how you'd like.
sleepynate
cool idea :D thanks
CIRK
A: 

If some process is changing them at boot, place a changeback in /etc/rc.local.

Joshua
err... shouldn't we ideally track the offending process instead of ignoring the problem?
Lie Ryan
I gave up tracking the automation system in ubuntu long ago. I'm convinced the developers do not understand Unix anymore.
Joshua