NAS326 symbolic/hard link
Hello, I need to perform a factory reset and I don't know how to accomplish this solution:
- Add a shared folder called downloadlink.
- Add read permissions to a user.
- Create a link from downloadlink to admin/download/Transmission/download/.
This setup worked for me for years, but now I don't know how to do it.
I have two problems with this:
- When I do this:
/ $ ln /i-data/bbbbb0c2/admin/download/Transmission/download/ /i-data/bbbbb0c2/downloadlink/
ln: /i-data/bbbbb0c2/downloadlink/download: Operation not permitted - When I try this:
/ $ ln -s /i-data/bbbbb0c2/admin/download/Transmission/download/ /i-data/bbbbb0c2/downloadlink/
It is partly working in SSH because it forwards me to /download/, but I need to open it to see files and folders in it, and I want to be forwarded directly into this folder and seen folders and files in it (I had it like this before the factory reset).
It is partly working because it doesn't work on FTP; it shows that it is a link but it doesn't forward into the folder at all :(
Any suggestions?
All Replies
-
You can check which users are currently logged into a NAS using the "who" command. However, if you encounter permission issues, it might be necessary to use an account with higher privileges, such as root.
0 -
When I try this:
/ $ ln -s /i-data/bbbbb0c2/admin/download/Transmission/download/ /i-data/bbbbb0c2/downloadlink/If this can work will depend on the FTP client. It has to support symlinks. And even then, this cannot work, as the FTP client has to resolve '/i-data/bbbbb0c2/admin/download/Transmission/download/', and it cannot look beyond the artificial root below admin and downloadlink.
So at least you should use a relative symlink:
cd /i-data/bbbbb0c2/ ln -s admin/download/Transmission/download/ downloadlink
0 -
Yes, it is working:
ln -s admin/download/Transmission/download/ downloadlink
I had to remove the '/' after downloadlink path to redirect to the inside of the folder download.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight