You are not logged in.

#1 2009-01-24 01:04:15

Killa B
Member
From: United States
Registered: 2008-10-28
Posts: 42
Website

Permission denied to view directory created by application

I'm working on creating a package for the AUR, and I have this problem. The package is Angband 3.1.0beta, FYI.

The program stores its information in a directory called "~/.angband". The problem is, since the program is running as root (needed for scores, etc.), it creates the directory as root. It seems that since it was created as root, normal users can't view it or anything.

How can I possibly fix this? I'll appreciate any help I can get.

Offline

#2 2009-01-24 01:59:53

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Permission denied to view directory created by application

The usual workaround for games with high scores is to install with root:games ownership and enable setgid.  That lets you view scores and play as a regular user.

Offline

#3 2009-01-24 03:02:41

Killa B
Member
From: United States
Registered: 2008-10-28
Posts: 42
Website

Re: Permission denied to view directory created by application

tdy wrote:

The usual workaround for games with high scores is to install with root:games ownership and enable setgid.  That lets you view scores and play as a regular user.

Thanks, worked like a charm!

Offline

Board footer

Powered by FluxBB