On Wednesday 23 February 2011 04:14:37 Hal Vaughan wrote: > I found this when using tar to unpack an OS image archive. I've been doing > this for a while on another CF card and had no problem. But now, when I > untar the archive, I keep getting "cannot create symlink" and "operation > not permitted." Is your drive read-only? > > I bypassed tar and tried creating some of the symlinks by hand and got the > same error. The CF card is mounted in /mnt/flash. I umounted the drive, > cd'ed back to /mnt/flash and ran the very same tar command again and it > created the files and symlinks without any problem. > > So I can create the symlinks to that directory when nothing is mounted, but > when I have a CF card mounted there, I can't create symlinks (and have > other problems with tar). What options have you used to mount the CF card? What is the filesystem on it? > > For example, if the boot directory is there, with the files in it, and > vmlinuz is in /mnt/flash/boot, then I do "cd /mnt/flash" and "ln -s > boot/vmlinuz ./" I get the same error: Operation not permitted.
-- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
signature.asc
Description: This is a digitally signed message part.