|
oops Re: Change permissions of files to -xw +r for all other users: msg#00037linux.newbie
Stephen Samuel wrote: Rhys Hardwick wrote: find ~ -type f -print0 | xargs -0 chmod og=r On second thought: Presuming that you really just want to remove write access, I'd try 'chmod og-w' or 'chmod og-wx' That would remove the write bit or the write and execute bits, but not add the read bit. There tend to be some files in a users directory that you don't want readable all (like ssh private keys, cert files etc.) -- Stephen Samuel +1(604)876-0426 samuel@xxxxxxxxxxx http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and bringing it to light. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problem while inserting pciehp (PCI Express Hot-plug) driver: 00037, Greg KH |
|---|---|
| Next by Date: | linux kernel print to file problem: 00037, Mukund JB. |
| Previous by Thread: | Problem while inserting pciehp (PCI Express Hot-plug) driveri: 00037, Rajat Jain |
| Next by Thread: | linux kernel print to file problem: 00037, Mukund JB. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |