[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mv and cp -p ought to be more respectful time wise on M$ filesystems
From: |
Dan Jacobson |
Subject: |
Re: mv and cp -p ought to be more respectful time wise on M$ filesystems |
Date: |
14 Feb 2001 04:10:00 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
>> From: Dan Jacobson <address@hidden> Newsgroups:
>> gnu.utils.bug Date: 05 Feb 2001 22:16:23 +0800
>>
>> using mv or cp from my windows formatted other disk to my gnu/linux
>> disk: mv: preserving times for elec8-10-00.jpg: Operation not
>> permitted same for cp -p
>>
>> I mean all those windows unzip utilities can set file times, what's
>> the big deal here?
Eli> It's not the filesystem problem: a port of mv works for me on DOS
Eli> and Windows without any problems.
Eli> I suggest to look for the problem in the way your Windows
Eli> partition is mounted.
Hmmm, root doesn't have the problem.
$ mount
/dev/hda1 on /mnt/win_c type vfat (rw,nosuid,nodev,iocharset=cp950,umask=0)
/dev/hda5 on /mnt/win_d type vfat (rw,nosuid,nodev,iocharset=cp950,umask=0)
It seems I could as in the mount manual, use
uid=value and gid=value
Set the owner and group of all files. (Default: the
uid and gid of the current process.)
in /etc/fstab
But this apparently would only fix the problem for at most one user?
By the way, touch -r reference_file new_file #also affected, no surprise
By the way
touch: new_file: Operation not permitted
is too cryptic.
By the way, in the touch manual
-r, --reference=FILE
use this file's times instead of current time
should say
-r FILE, --reference=FILE
same with the other options on the man page. Also do on --help output.
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com. 積丹尼