External Drive --home-volume
mounting: changing ownership of ... Operation not permitted
#119
Labels
--home-volume
mounting: changing ownership of ... Operation not permitted
#119
Describe the bug
To mount an external drive to home volume by flagging
--home-voluem=
, the file permissionchown
will prompt Operation not permitted.To Reproduce
Like doing as ususal
./docker-wine --home-volume=$HOME/buffers
this is so fine, however, due to the disk space usage of the volume, I manage the files to an external drive.
So I will do something like:
and then devil comes,
To solve above, I have to do this with
sudo
:but it is bad doing so because the wine will generate another profile under
/root
, and I hate typing password every time.and
USER_HOME
belogs toroot
in this case, thewine
config directory will be located into/root
which is not what we expect.The permission of each file is fine:
by the way,
--as-root
is not working, I have to do it withsudo
prefix, so I would guess it's some problem related toXauthority
by looking at 5215ee4 .( I am not sure, another reason could be the user from host machine is responsible for user_home, but is not aware of the permission of external drive)Workaround
1. Clean the existing volume,
2. Mount the external drive with
--volume
:Notice that the wine root
.wine
will still be generated under the/Users/myUsername
, after its initialization, move it to the external drive and softlink it to~/.wine
.Environment
The text was updated successfully, but these errors were encountered: