Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I copy some files from the folder /var/named which contains some DNS/Bind files. After i copied them to another directory, each source file icon has a green reverse arrow on right top and when i right click properties on it, it disappeared. Even the target directory copied files also like this. Any idea why ? Thanks
whenever you copy a file or directory the original context will not be preserved. The method of copying you should use should have preserved parameter.
Originally posted by kaverong whenever you copy a file or directory the original context will not be preserved. The method of copying you should use should have preserved parameter.
Previously i copied some files from /var/named/ to /var/named/chroot/var/named/ with copy and paste. Those files are now linked (have a green turn around arrow) on each copied file. Now i can't copy them to the target directory althought target directory file is deleted. Whenever i use "cp -p -f /xxx/xxx/filename /xxx/xxx/" it will say no such file or directory. Any idea ?
Regards
Daniel
Quote:
Originally posted by kaverong to overwrite existing file
Those files are now linked (have a green turn around arrow) on each copied file. Now i can't copy them to the target directory althought target directory file is deleted.
You mean they are symlinked now? It's a bit hard to debug your problem since we don't know what happened. Let's check your files. Do this:
Originally posted by DanielTan I copy some files from the folder /var/named which contains some DNS/Bind files. After i copied them to another directory, each source file icon has a green reverse arrow on right top and when i right click properties on it, it disappeared. Even the target directory copied files also like this. Any idea why ? Thanks
Rgds
Daniel
How are you viewing these icons? I don't get any icons with ls.
Hi, when i copy from this folder to the chroot foler, it says destination file is the same file. It is symlink. How to break it the link ?
Rgds
Daniel
Quote:
Originally posted by twantrd You mean they are symlinked now? It's a bit hard to debug your problem since we don't know what happened. Let's check your files. Do this:
I view them in window browser. Previously i just click copy and paste. I think now they are symlink. Anyway to break the link ? i tried cp -f it also wont overwrite them.
Rgds
Daniel
Quote:
Originally posted by eddiebaby1023 How are you viewing these icons? I don't get any icons with ls.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.