[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HOW do i RESTORE the default permissions of a DIRECTORY



On 21/07/12 01:47 AM, vykuntam srinivas wrote:
hi all,i have set  some permissions to  directory as :

#chown -R user:www-data /var/www/ipplan
#chmod -R 750 /var/www/ipplan

i want  to undo  the above operation or restore back the default permissions for /var/www/ipplan.  Do i have any way to do this?

No.

You can restore a backup of the directory or you can figure out what the permissions used to be and set them back to it, but there is no "undo" operation for any command line program that I can think of.

Reply to: