[bug #13432] ownership is not preserved when copying symlinks
- From: Pavel Tsekov <savannah-bounces gnu org>
- To: Pavel Tsekov <ptsekov gmx net>, "Andrew V. Samoilov" <sav bcs zp ua>, mc-devel gnome org
- Cc:
- Subject: [bug #13432] ownership is not preserved when copying symlinks
- Date: Sat, 16 Jul 2005 13:30:49 +0000
Follow-up Comment #3, bug #13432 (project mc):
Maybe we should keep the chown() call in local_chown() and introduce a new
function called local_lchown() ? Then we use the appropriate call based on the
value of 'follow Links' ? In any case currently MC doesn't support changing
the ownership of the link when the link is copied:
if (S_ISLNK (sb.st_mode)) {
int retval;
retval = make_symlink (ctx, src_path, dst_path);
return retval;
}
This is the block of code dealing with symlinks in copy_file_file().
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13432>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]