Computing.Net > Forums > Linux > How to allow user to do ln -s

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to allow user to do ln -s

Reply to Message Icon

Name: Vladimir
Date: January 16, 2003 at 17:47:32 Pacific
OS: Mandrake 9.0
CPU/Ram: 700/256
Comment:

Hi, I trying to create symbolic link as a user in my /mnt/windows directory - vfat.
But all the time a have permission denied
Any ideas, entry in my /etc/stab looks like:
/dev/hda1 /mnt/windows vfat user,iocharset=iso8859-1,rw,nodev,uid=501,suid,umask=000,gid=501,exec 0 0

Thank you.



Sponsored Link
Ads by Google

Response Number 1
Name: nelfer
Date: January 17, 2003 at 06:33:00 Pacific
Reply:

That's not a symbolic link, that's more like a "file system mount".
You have to use

mount /dev/hda1

This is how my fstab looks like:

/dev/hda8 /mnt/hdtemp vfat auto,users,umask=0000,rw 0 0

You have to put "users" if you want anyone to mount it (not just user). I think I read that somewhere in the man pages.

Try the line I put above (changing correspondinly) and the use mount and see what happen. The auto will mount it automaticly every time you boot.


0

Response Number 2
Name: 3Dave
Date: January 17, 2003 at 08:09:40 Pacific
Reply:

FAT does not support symbolic links, therefore you wont be able to create any on a FAT partition.


0

Response Number 3
Name: Vladimir
Date: January 17, 2003 at 08:10:39 Pacific
Reply:

I'm sorry. Maybe I explain si pporly before. But I can mount easily without any problems. Problem is, what I'm trying to do ln -s in my /mnt/wundows "file system" after it successfully mounted and it doesn't work.


0

Response Number 4
Name: 3Dave
Date: January 20, 2003 at 01:50:43 Pacific
Reply:

What file type is /mnt/windows? If it is FAT or NTFS you wont be able to create a symbolic link on it. You can create one pointing to a file on FAT but not the other way round, ie:

# ln -s /mnt/windows/foobar /home/user/
will work but
# ln -s /home/user/foobar /mnt/windows/
wont.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to allow user to do ln -s

allowing users to mount floppy www.computing.net/answers/linux/allowing-users-to-mount-floppy/5458.html

WU-FTP how to keep users in a specific dir www.computing.net/answers/linux/wuftp-how-to-keep-users-in-a-specific-dir/1475.html

how to restrict user bandwidth www.computing.net/answers/linux/how-to-restrict-user-bandwidth-/25755.html