Mnyb wrote:
> When doing the permission change use the -R (recursive option) then the
> for example cmod command will go down trough all levels of folders in a
> three
Slightly off topic but a typical NAS file structure needed for Samba is
Directories at 0777 and files at 0666. The problem with running a chmod
-R is that everything will end up at 0777. I have never been able to
find a script that properly differentiates between Directories & Files.
If you end up with all your Files at 0777 there is way to fix it. It is
long winded but works.
You have to create a new folder on your NAS in Windows (music2) Then map
that new empty folder to say W:
Using WinSCP connect to the NAS music folder and in the left window
connect to W:
Copy all your files from right to left.
Because left (W:) is Windows it will take the standard Samba permissions
0777/0666 or whatever your smb.conf has it set as.
When you have done you have two copies of the music on your NAS. One
with wrong permission one with correct.
Again using WinSCP or a Putty session delete the wrong un's. "rm -fR
music &" in Putty ("&" backgrounds the process).
Rename the new folder (music2) to that of the old folder (music) and do
a full clear & rescan in LMS.
Obviously you need the NAS to have capacity for 2 copies of your music
for a short period.
*Vortexbox LMS 7.8 music on QNAP TS419p via NFS* iThingys/iPeng/Tablets
*Living Room* - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 ->
Sony TA FE 320 -> Sennheiser RS 130 & B&W P7
*Office* - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755
-> Wharfedale Modus Cubes
*Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - SB Touch -> Topping TP21 -> AKG Headphones
*Bedroom (TV)* - Amazon Fire TV (SB Player) -> Topping TP20 ->
Wharfedale Modus Cubes
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=104535
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix