When I download things, I get varying permissions depending
on the type of file downloaded. I can look them up if you like.
None of them are what I need, which is 0766 and 0544. I can
explain that one too, if you like. So I am constantly having
to go and change things. (It is not obvious if you are not
familiar with Samba.)
So I like to add "chmod 0766 *" when I exit the directory
just for housekeeping. This includes test files I have
written that take on the default permission.
<code>
$ perl -We '@list = <.* *>;chmod 0755, @list;'; ls -al
</code>
worked. Thank you.
I am drawing a blank on how to set the path:
I am trying to get away from Bash, otherwise I'd just use
qx (...) and not have to learn anything new.
When I download things, I get varying permissions depending
on the type of file downloaded. I can look them up if you like.
None of them are what I need, which is 0766 and 0544. (I can
explain that one too, if you like.) So I am constantly having
to go and change things. (It is not obvious why if you are not
familiar with Samba.)
So I like to add "chmod 0766 *" when I exit the directory
just for housekeeping. This includes text files I have
written that take on the default permission. (I am always
writing myself notes.)
<code>
$ perl -We '@list = <.* *>;chmod 0755, @list;'; ls -al
</code>
worked. Thank you.
I am drawing a blank on how to set the path:
$ perl -We '@list = qw ("/home/linuxutil/perl/<.*"
"/home/linuxutil/perl/*>"); chmod 0766, @list;'
doesn't work
Do you know how to set the path?
Thank you for helping me with this,
-T