New Ubuntu user so I apologize if this is a stupid question, I'm attempting to modify files by modifying the files in /etc/apparmor.d I am unable to modify anything in this folder. If I try to put my own profile in here it wont copy into the folder, if I try to edit an existing file I get "Permission Denied" I am the only user and am set to root, any ideas? OS: Xubuntu 13.04
Well I managed to edit an existing profile but I had to run Mousepad through the console via root and it allowed me to save my edits. Would really like to know why as the only user and with root settings I am unable to touch a single file in that folder through the file manager. Really is making me leary about Linux.
That's how Linux works. You run as a limited user, and su/sudo to root as needed for system tasks; pretty much the same as on Windows 7. No offense, BTW, but I'd recommend familiarizing yourself with Linux filesystem permissions and discretionary access control, before you start configuring mandatory access control frameworks like AppArmor. A misconfigured MAC framework can break all kinds of things.
It's like trying to configure a file/folder or registry entry owned by SYSTEM or TrustedInstaller in Windows, nothing to be leery about. Don't forget to make a disk image before messing with it.
you can use command $gksudo thunar it give you root access to files or http://blog.qpg.us/2012/12/29/root-file-management-in-xubuntu/ also i am not in xubuntu but i guess with you right click there is option in it open folder as root
That will open the file in gedit with root access. But unless you know what you're doing, don't mess with apparmor. There should already be a firefox profile in there.