On Wed, 10 Oct 2007, Brendan Reid wrote:
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
Your permissions look appropriate.. what is the symptom, i.e. what is not
operating properly?
The r-s permissions for directories mean that files created in that
directory inherit their group setting from the directory. So for a
directory with permissions drwxr-sr-x, ownership nobody:everyone (wow,
what an oxymoron in that one!), a file created in the directory would
automatically have group everyone.
-Brandon
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?
thanks
bren
#! /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
#
#
_______________________________________________
Gnump3d-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnump3d-users