0
votes
0answers
9 views

Faillog - allowing a user read access for themselves

I'm trying to get each user on my system permission to read their own number of failed login attempts. Eg: faillog -u $CURRENTUSER Running this as any user except root gives me a 'permission ...
0
votes
2answers
852 views

How to give a program access to make file in root directory

i am running a program which uses log4j.The log4j uses rolling file appender.However its not able to create the file. I guess its because the creation of file need root access. The program is ...
1
vote
1answer
557 views

Configure owner and permissions for upstart log files

When logging an upstart job with the standard console log stanza, can the resulting log files in /var/log/upstart be configured to be written with a mode or owner other than the default?
0
votes
1answer
2k views

How to determine file in “Error opening file for reading” error

Since Ubuntu 12.04, whenever I open aterm, I get the following error message: Error opening file for reading: Permission denied aterm still opens and runs correctly, but I get that error message. ...
8
votes
2answers
9k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...