Re: USB Drive weirdness
Martin D Kealey <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Oct 2011, Bruce Kingsbury wrote: > If it's an existing filesystem it would probably be safer to chown all the > files, or use find to set a+rw on the files, and only set a+rwx on the > directories .. That's what chmod's "X" option is for -- it only turns on the "x" bit on for directories (or if one of the other "x" bits is already on). Hence chmod -Rc a+rwX /media/fubar will solve the problem, as would sudo chown -Rc $(id -un): /media/fubar -Martin _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug