First of all, sorry for my poor english in advance.
Thanks to the dev team for their work, I'm happy to play with my NAS like I expected when I bought it.
I found some improvements. Check the list bellow :
- When I try to use the backup utility, I can't choose to backup the content of a directory. An example :
- Code: Select all
$cmd="sudo /usr/sbin/rsync --stats --force --ignore-errors --modify-window=2 -HltDvr --delete '/share/1000/public' '/share/1000/SAMSUNG_1'
This is the command generated by the backup utility with cronjob through the portal. What I want is saving entirely the public directory on the usb disk plugged at the front of the NAS (I don't know, one day, the disk will be dead). So, to fix it, It need to put a wildcard at the end of the public directory like this :
- Code: Select all
$cmd="sudo /usr/sbin/rsync --stats --force --ignore-errors --modify-window=2 -HltDvr --delete '/share/1000/public/*' '/share/1000/SAMSUNG_1'
Maybe a checkbox or something to add can be relevant.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- The rsync scripts sucess if I check the log on the web interface but in fact it failed :
- Code: Select all
sending incremental file list
public/
rsync: recv_generator: mkdir "/share/1000/SAMSUNG_1/public" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
Number of files: 7219
Number of files transferred: 0
Total file size: 813501628117 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 254007
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 254569
Total bytes received: 561
sent 254569 bytes received 561 bytes 170086.67 bytes/sec
total size is 813501628117 speedup is 3188576.91
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
I've fixed this with the ntfs driver functionality but maybe it's better to send the standard and error output to the log.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- The different shares belongs to root with 777 rights. This is bad because when I mount shares with NFS on my laptop, the shares belongs to root and I'm obliged to give all rights to others to be able to write on the share. Why the shares doesn't belongs to the user who created it ? I've an user "cleo" which have the share "cleo" but it belongs to root. I checked "/etc/passwd" and cleo exists, I don't understand. I tried to change some options in the "/etc/exports" file too like "uid", "gid", "async" the exports file is crush at each start of the NFS service. Maybe adding checkboxes to be able to enable options is a good idea ?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Why generate PHP scripts with a lot of exec(sudo) ? It's not possible to write bash script instead ? I'm woried about people who access to their NAS at outside of LAN.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- I can help devteam other than translating language (espectialy translating lol). Is it possible ?
One more thanks for your work.