Freitag, 14. Oktober 2011

Using an external hard drive on multiple systems

Using an external hard drive with file systems such as ext or xft on
multiple systems can be difficult when user privileges are scrambles
due to different user and group ids on different hosts. My best
current bet was to adapt the local user and group id of my user on the
machine I have root access to to the one on the machine where I only
have user access.

You can use usermod and groupmod to change the uid and gid
(http://www.cyberciti.biz/faq/howto-change-rename-user-name-id/) then
find / -user 1000 | xargs chown -h 2284
find / -group 1000 | xargs chown -h 2000
to change user and group ids of files accordingly (here, the initial
user was 1000.1000 and the final is 2284.2000).

Change all user ids on the external hard drive accordingly and it should work!

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

iPhone to linux
gphoto2 --port=usb -R -P copies all images from an...
danielgruen - 2. Feb, 19:46
Alternative
This screws up the bounding box of non-square plots....
danielgruen - 30. Dez, 23:22
MNRAS submission problems...
Matplotlib ps files like to contain Type 3 fonts, which...
danielgruen - 13. Apr, 19:45
PPPOE connection problems
I was facing connection problems after some technical...
danielgruen - 29. Jun, 01:51
Sort products randomly...
http://www.magentocommerce .com/boards/v/viewthread/2 32826/#t331309 nicely...
danielgruen - 1. Feb, 17:29

Links

Suche

 

Status

Online seit 5898 Tagen
Zuletzt aktualisiert: 2. Feb, 19:46

Credits


Multimedia
Profil
Abmelden
Weblog abonnieren