New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
[Solved] Ln command
[Solved] Ln command
Hello all and ubi, cheeseboy,
If i create a symbolic link in a userfolder e.g. /home/guest/link
Referring to /home/web/folder
It does not show on the web interface.
I want to use it to quickly change some content in a web environment.
Rene
If i create a symbolic link in a userfolder e.g. /home/guest/link
Referring to /home/web/folder
It does not show on the web interface.
I want to use it to quickly change some content in a web environment.
Rene
Last edited by pcrene on 17 Jan 2012, 02:15, edited 1 time in total.
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Ln command
Correction..
It does show up as a file, i cannot change to the folder i want to go to.
Is there a solution.
Rene
It does show up as a file, i cannot change to the folder i want to go to.
Is there a solution.
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Ln command
is followsymlinks turned on in apache?
Re: Ln command
Dunno, is that in apache.conf or something like that?
Renr
Renr
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Ln command
yeah, here's a link with details:
http://goo.gl/ONnsM
http://goo.gl/ONnsM
Re: Ln command
Thx, this will do the job....
Rene
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Ln command
I'm not following what you're trying to do
/home/<username>/<whatever> is not web content, so can I assume you're using file manager in the web interface and want to use that to access files in the web folder as if it were a folder in some user's home directory?
/home/<username>/<whatever> is not web content, so can I assume you're using file manager in the web interface and want to use that to access files in the web folder as if it were a folder in some user's home directory?
Re: Ln command
Hi
I want a noob user externally update webcontent without going to the /home/web/folder
Http://download.azboxforum.nl
Rene
I want a noob user externally update webcontent without going to the /home/web/folder
Http://download.azboxforum.nl
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Ln command
If you try to use the web file manager to access symbolic links this is a known bug.
http://forum.excito.net/viewtopic.php?f ... inks#p9785
http://forum.excito.net/viewtopic.php?f ... inks#p9785
Re: Ln command
Thanks,
Ill try mouting the folder.
Rene
Ill try mouting the folder.
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: [Solved] Ln command
I thought as much after you mentioned web interface. Should work in Samba though...pcrene wrote:Hi
I want a noob user externally update webcontent without going to the /home/web/folder
Http://download.azboxforum.nl
Rene
In any case mounting is the more robust way, but you should be aware that a mount (or in this case a bind) is not permanent the way a symlink is. You need to make sure that the mount is reestablished after you perform a reboot, either by adding it to fstab (careful!) or adding it to and enabling the rc.local script.
In any case mounting is simple enough:
Code: Select all
~# mkdir /home/<username>/<mountpoint>
~# mount --bind <path_to_webfolder> /home/<username>/<mountpoint>
Re: [Solved] Ln command
Thanks
But i knew this, because i mounted an external 8T raiddisk to the storage part.
I have to reconnect by script after every reboot (i want it by script and not automatic).
Rene
But i knew this, because i mounted an external 8T raiddisk to the storage part.
I have to reconnect by script after every reboot (i want it by script and not automatic).
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: [Solved] Ln command
be aware that mounting local folders in fstab via the 'bind' keyword often fails after reboot. Best way is to add the mount points in an rc.local script or something like that.
Re: [Solved] Ln command
True. You should probably only do this with binds that are within the root mount because the order of mounting cannot be controlled (and the file system depended on may therefore not be ready).Ubi wrote:be aware that mounting local folders in fstab via the 'bind' keyword often fails after reboot. Best way is to add the mount points in an rc.local script or something like that.
There may still be a reason for adding it to fstab though, because with the appropriate mount flags you can enable the user to mount and dismount himself (i.e. without being root).
Re: [Solved] Ln command
I guess you mean the flags should then be noauto,user?