Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got two netbooks. One netbook has two installed Linux systems: openSUSE 11.04 and Debian testing. By default, in Debian, gnome mounts the /home filesystem for openSUSE, which shows up in gnome's 'places,' in /media as

/media/f9309491-1893-47da-b473-021fa2989fcf/

with read only permissions for users.

When I share /media via NFS, I can't access anything.

me@ROOROO:~/$ cd /mnt/network2/f9309491-1893-47da-b473-021fa2989fcf/
bash: cd: /mnt/network2/f9309491-1893-47da-b473-021fa2989fcf/: Permission denied

Obviously the best idea here is to mount and share the partition (mount /dev/sda3 /mnt/foldername) directly by exporting /mnt/foldername/ in /etc/exports, without using gnome.

But I want to know why I couldn't just export /media in the first place, because I like knowing how stuff works.

share|improve this question

closed as unclear what you're asking by Jeff Schaller, Archemar, dhag, sam, Kusalananda Jul 18 at 15:28

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Do you have the same user IDs on both machines? What is the output of id and ls -ld /media/f9309491-1893-47da-b473-021fa2989fcf? – Gilles Feb 27 '12 at 23:28
    
No, I don't have the same username on both machines. – ixtmixilix Apr 23 '12 at 16:00
    
The question was whether you have the same user ID, which the requested output of id would show. – Gilles Apr 23 '12 at 17:00