Skip to content

Commit

Permalink
Adjust rsync options to copy ACLs and extended attributes
Browse files Browse the repository at this point in the history
This addresses an existing issue that affects installs from 12.10 on
since the mountpoint /media/<username> is setup with an ACL for
automounting USB sticks and other partitions. If the ACL is not copied
then only root has access to the mounted partition.
  • Loading branch information
bcbc committed Mar 6, 2013
1 parent 21e13c2 commit 82f8c85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wubi-resize.sh
Expand Up @@ -48,7 +48,7 @@ size= # size of new virtual disk
resume=false # resume failed copy or synch backup

# literals
version=1.6
version=1.7
maxsize=32 # max size of new virtual disk unless --max-override supplied
target=/tmp/wubi-resize # mountpoint to be used for new virtual disk
# flags
Expand Down Expand Up @@ -434,9 +434,9 @@ resize ()
echo "$0: Copying files - this will take some time."
echo "$0: Please be patient..."
if [ "$verbose" = "true" ]; then
rsync_opts="-av"
rsync_opts="-aAXv"
else
rsync_opts="-a"
rsync_opts="-aAX"
fi
echo "$0: Copying from root (/)"
warn_24_rc=false
Expand Down

0 comments on commit 82f8c85

Please sign in to comment.