NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
z00
Sep 14, 2017Aspirant
ReadyNas104 - cannot active SMB
I' ve upgrade the firmware from 6.7.5 to 6.8.0 the other day. After that I installed one app from the website but failed. And the app cannot be started or uninstalled from the website, so I used co...
evan2
Sep 15, 2017NETGEAR Expert
Which APP did you installed?
It should be some low-quality app cause smb permission change from root to guest.
Please change all below file to root,
root@ReadyNAS:/var/lib/samba# ls -l
total 1764
-rwxrwxrwx 1 guest guest 421888 Jan 19 2017 account_policy.tdb
-rwxrwxrwx 1 guest guest 430080 Sep 9 23:42 group_mapping.tdb
drwxr-xr-x 3 root root 4096 Nov 21 2012 private
-rwxrwxrwx 1 guest guest 528384 Jan 19 2017 registry.tdb
-rwxrwxrwx 1 guest guest 421888 Jan 19 2017 share_info.tdb
root@ReadyNAS:/var/lib/samba# cd private/
root@ReadyNAS:/var/lib/samba/private# ls -l
total 836
drwxrwxrwx 2 guest guest 4096 Aug 23 00:22 msg.sock
-rwxrwxrwx 1 guest guest 421888 Sep 7 22:06 passdb.tdb
-rwxrwxrwx 1 guest guest 430080 Jan 19 2017 secrets.tdb
z00
Sep 15, 2017Aspirant
Thank you for your reply.
The app is LogAnalyzer. When installing, it tells there's some permission error about rsyslogs.
After uninstlling the app by apt-get, I checked the owner of files you metioned and changed owner to root.
At first, smb service can be activated. However, after reboot, smb service was turned off again.
Then I checked all the files owner and found almost of files in root directory were changed to guest:guest.
So I want to change owner of them all to root. But I make a big mistake.
root@z00-nas:/# chown root:root -R *
chown: changing ownership of 'DATA/home/admin/.ssh/ssh_authorized_keys': Operation not permitted
chown: changing ownership of 'home/admin/.ssh/ssh_authorized_keys': Operation not permitted
chown: changing ownership of 'proc/sys/debug': Operation not permitted
...
After reboot, I cannot ssh to the NAS anymore...
Because the user of the website is admin, I also cannot use website to change anything, inclued reinstall the firmware.
I tried to use boot menu to reinstall OS, but the boot menu only canbe selected to Nomal, neither OS reinstall or Factory default shown.
As I used X-raid, I cannot use other computer to read the data from the harddisk. Is there any other method to reinstall OS?
- StephenBSep 15, 2017Guru - Experienced User
You could try paid support (my.netgear.com), and see if they can rebuild the OS partition.
If you are ok with losing the data, you could put the disks in a Windows PC and then unformat them. You can do that with windows disk manager (right-click on each "volume" and delete it).
Then reinsert the disks with the NAS powered down, and power it up. It will do a factory install.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!