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
- 146 Nebula Ideas
- 96 Nebula Status and Incidents
- 5.7K Security
- 262 USG FLEX H Series
- 271 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.4K Consumer Product
- 249 Service & License
- 387 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.5K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 73 Security Highlight