|
From: Saurabh A. <tan...@gm...> - 2007-07-31 08:04:40
|
Hello Till On 7/31/07, Till Bentz <ti...@on...> wrote: > Hi Saurabh, > > If I try to copy that file I get a Permission denied. Did you change the > file permissions? If yes how did you keep them changed after reboot? > > --- > $ cp /sys/kernel/security/ima/ascii_runtime_measurements > /home/tbentz/iml.txt > cp: cannot open > `/sys/kernel/security/ima/ascii_runtime_measurements' for > reading: Permission denied > --- > > My /sys/kernel/security/ima/ascii_runtime_measurements is > readable only for root:root... > --- > $ ll /sys/kernel/security/ima/ > total 0 > -r--r----- 1 root root 0 2007-07-30 12:09 ascii_runtime_measurements > -r--r----- 1 root root 0 2007-07-30 12:09 binary_runtime_measurements > --- you can chmod (444/user read) the files evrytime you mount the filesystem. I do think you will have to chmod after every reboot like you mount each time. else you can add into init/fstab configs to do that for you aftr each reboot. best Saurabh |