On Thu, 2013-12-05 at 17:28 +1100, Scott Ferguson wrote: > On 05/12/13 17:01, Muntasim-Ul-Haque wrote: > > Hi, > > I've unzipped a folder and it became root protected. The folder icon is > > showing a lock sign. Now that, I cannot copy/move this folder in any > > other place. What can I do now? How can I move/copy this folder to other > > places? How to remove root access from this folder? > > With thanks, > > Muntasim-Ul-Haque > > > > > Presuming the directory is beneath directories owned by you, otherwise > move it to somewhere you own > > to change ownership (unlock):- > # chown -R $me:$me $lockedDirectory > > Where # means as root > $me is your username > $lockedDirectory > > e.g. > > # chown -R scott:scott /home/scott/somedirectory/somedirectory > > I'm guessing it's not beneath directories owned by you or you'd be able > to copy it... to cp $lockedDirectory/* you'll need to run as root *and* > copy it somewhere beneath /home/$me
Assumed the content of the folder should be something that should be moved to e.g. /usr/local/bin, then I would # mv (move the files as root) and not change permissions. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1386231253.818.11.camel@archlinux