[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnump3d-users] help on users and file permissions

From: Brendan Reid
Subject: [Gnump3d-users] help on users and file permissions
Date: Wed, 10 Oct 2007 01:49:21 +0100

Hi gnumpers,

I am sure I am being really silly but am realling struggling to set the right permissions and user on my NSLU2 (small linux computer) to operate gnump3d properly.

If I set user = root then all is ok

i have
- .conf set to user = nobody
- nobody is defined as uid=99(nobody) gid=501(everyone)
- all the files are owned by chown -R bren:everyone
- all the files are -rw-r--r--
- all the directories are drwxr-sr-x  

Can anyone check this and advise - I am not used to setting up Linux users and groups
What does the r-s for group mean for directories - it was set with this command as part of a short script - see end of this post

Is this the problem?


#! /bin/sh
# Diversion script: to set file permissions for the root gnump3d music server directory
# 1. Start by globaly setting all files and directories with owner and group set to root.
# Note that some users prefer to use different user and groups
# to improve server security, such as nobody and everyone
chown -R bren:everyone /home/bren/gnump3d
# 2. Then globaly chmod all files and directories to permission 644
chmod -R 0644 /home/bren/gnump3d
# 3. Then chmod all Directories to permission 2755
find /home/bren/gnump3d -type d -exec chmod 2755 {} \; -print

reply via email to

[Prev in Thread] Current Thread [Next in Thread]