Return to Snippet

Revision: 34886
at October 29, 2010 17:49 by hamsterbacke82


Initial Code
#!/bin/bash
echo "Changing permissons for directory " $1 " ..."
chmod $1 755
chown $1 $2:psaserv
find -type f -exec chmod 644 {} \;
find -type f -exec chown $2:psacln {} \;
find -type d -exec chmod 755 {} \;
find -type d -exec chown $2:psaserv {} \;

Initial URL

                                

Initial Description

                                

Initial Title
permission change bash

Initial Tags
Bash

Initial Language
Bash