Sometimes better for files ON an external drive Having the same groupname is okay if it is consistently the same people using the drive, and they all add themselves to the same group with: usermod -a -G groupnameīUT, if the groupname doesn't exist on one system, and just shows up as a number, such as 5000, when you look at it with ll ( ls -alF), then you can't easily add yourself to the same group because usermod -a -G 5000 produces this error: $ usermod -a -G 5000Ģ. Having the same username only works if it is the same person, so that doesn't always make sense. This works: recursively ( -R) change the username (the part before the colon :) and groupname (the part after the colon :) to your username: sudo chown -R username:username /media/username/nameofdriveīUT, the problem with this is that it makes the external disk difficult to share between multiple usernames and/or on multiple computers, because each person on each system who needs access to these files must either have the same username, or must be part of the same groupname. Ok technique for files ON an external drive, but the correct technique for files you just copied onto your computer FROM an external drive
0 Comments
Leave a Reply. |