Making folders visible with SSH
Hi
Please help me out here. After i create a folder with "mkdir foldername" and then want to make it visible from my web GUI, what permissions do i set it to? the folder is created in /root/volume1/foldername If i am inside volume1 directory, can i then write "chmod 777/foldername?? How can i see which permissions a folder has??? Please advice.. I am running the service on my NAS diskstation. I am using putty as a windows user. Br HRB As i am a newbee, a step by step would be much appreciated. I really want to learn this.. |
Quote:
Quote:
|
Ok. I am running ssh server side on my synology nas diskstation and ny client software is putty.
But in my root/volume1/ this is the directory where have most of my files? Please explain how i can create a folder which can be seing when i enter my nas from the web GUI? Also you mention sonething about user root? How can i create a admin user? ---------- Post added 08-09-13 at 11:15 AM ---------- Ok. I am running ssh server side on my synology nas diskstation and ny client software is putty. But in my root/volume1/ this is the directory where have most of my files? Please explain how i can create a folder which can be seing when i enter my nas from the web GUI? Also you mention sonething about user root? How can i create a admin user? |
|
Ok. I logged into my nas Web GUI and under user priviliges, on my user name i am under a administrator group and the here under folder permission access, the folder which i created is visible, i just had to put a check in the box to enable my account to have access of the folder...
So how can make this folder visible to a sudden user when i create a folder in ssh?? |
Quote:
but first you may find it easier to create a few accounts/dir. via the GUI, then have a look at the permissions it has assigned. |
how come when i make a chown command on the folder and when entering my nas with the same admin account i added in the chown command for this specific folder, then it is still not visible to me??
|
Quote:
and to who? ( as in user account, not you as in you ) You would also need to account for the parent directories, if the user/group does not have read for those they can't see the child directories regardless of their permissions. And their may be other things at work in the NAS, not just filesystem permissions but some other database or whatever. You have to fully understand how the 'native NAS management' 'works' before you can go bashing around via ssh I'm not going to pretend I know how your NAS 'works', as I simply don't know. but I'm fairly certain there will be some other 'layer' involved. ( I could be totally wrong ) To help you understand what is going on try this login via ssh Code:
touch ~/timestamp back in your shell Code:
find / -anewer ~/timestamp -type f from there you should have a better picture of what is going on |
All times are GMT -5. The time now is 09:59 PM. |