Yes. "man ln" will show you what options you can use.
Hello,
Is it possible to create a symbolic link which points to different locations , e.g i have a directory, DATA, which has subdirectories, html, jsp and log.Now i want to create a symbolic link which points to the two subdirectories of DATA i.e. to html and log and not jsp.
Yes. "man ln" will show you what options you can use.
Thanks for the reply.When i login through ftp i cannot access the symbolic links, like if i have user1 folder, which has further three different symbolic links to different locations.Now, when user1 logins it can see the names of three symbolic links but when i click them they show me error.
If your users ftp login jails them to the ftp directory, you cant follow the symbolic links if they extend the jail.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
Then how can i use it?, i want my users to be jailed in their given home directories and want the symlinks to work also
I have read to use the following, instead of symbolic links and is working fine:
mount --bind /var/ftp/music /home/userA/music
Now, can any one help me with this that is there any limitation to the number of mounts we can do, and any synchronization issue involved with it.
There is no synchronization issue involved, the files will only be located in one place, it's just the filedescriptor which is accessed from several places.
The mount count can be virtualy infinite, it's only when you're talking about loop mounted devices that you'd run into an upper limit set by your kernel.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
I mounted:
mount --bind /var/ftp/music /home/userA/music
and then i tried to delete the /home/userA/music, i get the error "Could not remove" and when i tried to unmount it:
umount /home/userA/music
,/var/ftp/music is removed.Now, how can i do it?
Bookmarks