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
#
#