xpertvision Posted October 29, 2010 Share Posted October 29, 2010 i need to copy files from linux to osx partitions i have tried everything but no sucess i need some help thanks Link to comment Share on other sites More sharing options...
Alessandro17 Posted October 30, 2010 Share Posted October 30, 2010 Very simple: use a partition that both can read and write: FAT32 and use it as a "go between". It can be a partition of your PC, a USB Pen Drive or an external HDD. Link to comment Share on other sites More sharing options...
xpertvision Posted October 31, 2010 Author Share Posted October 31, 2010 i discovered a better option by myself ubuntu 10.10 for example reads osx partitions but doenst write , i discovered is becouse user permitions if i use nautilus in SUDO mode i can write in osx partitions example open console and type: sudo nautilus now you can read/write in osx partitions (non-journaled only) Link to comment Share on other sites More sharing options...
Alessandro17 Posted October 31, 2010 Share Posted October 31, 2010 now you can read/write in osx partitions (non-journaled only) Indeed, that is the problem. But there is more to that: http://raamdev.com/mounting-hfs-with-write-access-in-debian Link to comment Share on other sites More sharing options...
srs5694 Posted November 2, 2010 Share Posted November 2, 2010 i discovered a better option by myself ubuntu 10.10 for example reads osx partitions but doenst write , i discovered is becouse user permitions if i use nautilus in SUDO mode i can write in osx partitions That is a VERY VERY DANGEROUS approach! I STRONGLY advise against it! The problem is two-fold. First, you're running the Nautilus file manager as root, which means that you can do immense damage to Linux and/or OS X by a sloppy mistake, such as clicking the wrong confirmation button, dragging files to the wrong location, etc. Second, when you copy files and create subdirectories, they'll probably be owned by root, which means you may need root access to make further changes, which means you'll be creating a requirement for yet more root access, thus increasing future risks. Instead, you should synchronize your user ID (UID) numbers, and perhaps your group ID (GID) numbers, across Linux and OS X. This can be done with the usermod command in Linux, along with a chown command to change ownership of your regular files: sudo usermod -u 501 yourusername sudo chown -R 501 /home/yourusername It's conceivable you'll need to log out and back in again between those commands. (In fact, this is best done via a direct root login, but Ubuntu disables this type of access by default.) You may need to adjust the UID value (501 here) to something else, depending on what you use in OS X. You will obviously also need to change "yourusername" to something appropriate. When this is done, you should be able to read and write all the same directories on your HFS+ partition(s) in both OSes from a regular login, without using a dangerous sudo operation every time. Link to comment Share on other sites More sharing options...
Alessandro17 Posted November 3, 2010 Share Posted November 3, 2010 Ubuntu disables this type of access by default. $ sudo passwd root Link to comment Share on other sites More sharing options...
Recommended Posts