Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
N
nsbin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nico Schottelius
nsbin
Commits
fecbe897
Commit
fecbe897
authored
Jan 02, 2010
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove another unecessary permissions script
Signed-off-by:
Nico Schottelius
<
nico@ikn.schottelius.org
>
parent
6d29b36e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
mp
mp
+2
-2
permissions.usergroup
permissions.usergroup
+0
-19
No files found.
mp
View file @
fecbe897
#!/bin/sh
dir
=
"
${
HOME
}
/privat/freunde/"
file
=
"mobile
.
nummer"
file
=
"mobile
?
nummer"
cat
"
${
dir
}
/
$1
/
${
file
}
"
cat
"
${
dir
}
/
$1
/
"
${
file
}
permissions.usergroup
deleted
100755 → 0
View file @
6d29b36e
#!/bin/sh
#file=`ls -l $1 | egrep '^d' | awk ' {print $9 }'`
#if [ -z file ]; then echo $1;fi
# echo gerade : $1
# file : $file
if
[
-d
"
$1
"
]
then
echo
"dir :
$1
"
chmod
u
=
rwx,g
=
rx,o-rwx
$1
elif
[
-x
"
$1
"
]
;
then
echo
"exe:
$1
"
chmod
u+rw,g+rx,o-rwx
$1
else
echo
"file:
$1
"
chmod
u+rw,g+r,o-rwx
$1
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment