[ale] chmod

Jim Kinney jim.kinney at gmail.com
Tue Dec 27 22:37:59 EST 2016


A thumb drive in fat32 or ntfs mode won't support unix perms. So group
perms won't take.

Also, windows format thumb drives are stupid about uppercase. So *.JPG
really needs to be *.[jJ][pP][gG]

On Dec 27, 2016 10:31 PM, "Alex Carver" <agcarver+ale at acarver.net> wrote:

> He shouldn't need recursive mode if he's inside the same directory as
> the files.
>
> However, which user owns the file?  If you're not the explicit owner
> then it's not going to change permissions.  Sometimes it doesn't change
> permissions if you're a member of the group, either.
>
> On 2016-12-27 16:43, Jim Kinney wrote:
> > -r
> >
> > Recursive
> >
> > It may be -R
> >
> > Damn gnu not setting a standard on rR for recursive.
> >
> > On Dec 27, 2016 7:08 PM, "Sean" <kilpatms at comcast.net
> > <mailto:kilpatms at comcast.net>> wrote:
> >
> >     I am confused -- which is nothing new.
> >     Running Fedora 24 on this laptop w/kernel 4.8.14, and CentOS  7.2 on
> my big
> >     box.
> >     In the past the following command has changed the perms within a
> directory of
> >     .JPG files so that all of those files have the same perms:
> >
> >     chmod 660 *.JPG
> >
> >     Now it doesn't. On CentOS.  Works just fine on this laptop w/Fedora
> 24 -- ON
> >     SOME DIRECTORIES!!! just not on the directories I need to have this
> work on.
> >
> >     Specifically, I have some pix taken with an i-phone. They were
> transferred to
> >     a thumb drive and then to this laptop. The perms read: -rw-r--r--
> and I want
> >     them to read: -rw-rw-r--   I would like to change the perms on both
> the thumb
> >     drive AND on the laptop.s hard drive.
> >
> >     I've looked through the man page and, as is often the case, been
> unable to
> >     glean a clue.
> >
> >     A clue would be appreciated.
> >
> >     How do I change the perms from -rw-r--r-- on a set of jpg files
> within a
> >     single directory to -rw-rw-r--  ?  And have it stick?
> >
> >
> >
> >     sean
> >
> >
> >     _______________________________________________
> >     Ale mailing list
> >     Ale at ale.org <mailto:Ale at ale.org>
> >     http://mail.ale.org/mailman/listinfo/ale
> >     <http://mail.ale.org/mailman/listinfo/ale>
> >     See JOBS, ANNOUNCE and SCHOOLS lists at
> >     http://mail.ale.org/mailman/listinfo <http://mail.ale.org/mailman/
> listinfo>
> >
> >
> >
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161227/7edb7770/attachment.html>


More information about the Ale mailing list