• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

folder permissions

I am trying to set up a shared folder for a given group on FC4

I have am using the GID to set the group ownership of all new files/sub-directories created in that folder. This works ok but for one glitch. all new folders/files are not writable to members of the group. how to i set this as a default.

phill
0
PhillO
Asked:
PhillO
1 Solution
 
slyongCommented:
change your /etc/bashrc file.. locate the lines like:

if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
    umask 002
else
    umask 022
fi

to...

# if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
#    umask 002
# else
    umask 022
# fi

0
 
PhillOAuthor Commented:
thankyou!!
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now