projects
/
videoscripts
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d3ba3
)
Added some code to correctly chown/chmod the playlists when they are created
author
Alan J. Pippin
<alan@pippins.net>
Tue, 30 Oct 2012 22:38:37 +0000
(16:38 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Tue, 30 Oct 2012 22:38:37 +0000
(16:38 -0600)
organize_videos
patch
|
blob
|
history
diff --git
a/organize_videos
b/organize_videos
index 5625f8bcd927a0ca19830dadabf4155cafd255bd..782ee17e61fb5f910137746ac17a52f5198680b9 100755
(executable)
--- a/
organize_videos
+++ b/
organize_videos
@@
-101,7
+101,12
@@
sub create_playlists {
print " Skipping $file since we can't extract the year and month from it\n";
}
}
- }
+
+ # Fix the permissions
+ system("chown $owner \"$dstdir/\"*.$playlist_extension");
+ system("chgrp $group \"$dstdir/\"*.$playlist_extension");
+ system("chmod $mode \"$dstdir/\"*.$playlist_extension");
+ }
}
# Sanity checks / Option processing