hp all in one dection
Larry Grover
lgrover at zoominternet.net
Fri Sep 2 13:06:38 UTC 2005
Charles Yao wrote:
> I cant seem to delete the hpijs folder even if it is empty. Could this be
> because of the ./configure --prefix=/usr command i did? If it is how can i
> undo it?
>
>
> This is the thing that comes out:
>
> "/home/ccyao/.T.../apollo21xx.Po" cannot be deleted because you do not have
> permissions to modify its parent folder.
>
> I already emptied the folder but it still persists.
>
> Charles
When you ran "sudo make install" you probably created some new files
within the build directory. Because you used sudo, these files will
be owned by root and you will not be able to delete them when you are
running commands as a normal user (hence the "you do not have
permissions..." message).
You can revert the ownership of the files by running the "chown" command:
chown -R ccyao:ccyao /home/ccyao/hpijs-2.1.4/
Run "man chown" for details, but the "-R" option tells the chown
(change ownership) command to recursively step through all the
subdirectories. I'm assuming your username is ccyao, since your home
directory is /home/ccyao. If I'm wrong, just substitue your true
username for ccyao. The "ccyao:ccyao" simply tells chown to assign
all the files and directories to user ccyao, group ccyao. The last
part of the command, /home/ccyao/hpijs-2.1.4/, just tells chown where
to start working.
Once you've changed ownership of the files and directories to your
user, you should be able to remove all of them from the command line,
or from nautilus (or konqueror, or whatever you use as a file browser).
Regards,
Larry
More information about the ubuntu-users
mailing list