Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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


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
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.