Thursday, October 8, 2015

HOW TO CHECK/CHANGE FILE PERMISSIONS AND OWNERSHIP


Suppose you need to check /data Directory permissions

#ls -ld <dirname>

If you need to change owner and group    << for example you need to set linuxtechnotes as both owner and  group>>

#chown  linuxtechnotes:linuxtechnotes  /data


What if you want just change user permissions  to kishore ?



What if you want just change group permissoins to sai ?


What if you want change owner and group to linuxtechnotes to /data and all files under /data aswell ?


No comments:

Post a Comment