July 11, 201015 yr Many Thanks for the kind assistance! - Slowly solving all issues with UNRAID and UNMENU - UNRAID ROCKS !! A few gotchas involving file names and ISO name conversions (Which probably caused the folder issues in the first place) In my case, i have lots of old data mac going back to the OS9 days - So no telling what is hidden in the archives being transfered. As a result, i am slowly zeroing in on what you need to do to your MAC data before you transfer it. Looks like this includes many levels of checks - Heres the ones i have identified and am trying to come up with drag and drop fixes for.... Problem Files names and characters include: Any "dot" files eg .ds_store and things like it ((Note that .appledouble is not included in this! (Needed by Unraid and AFS)) Spaces in names - Either use - or _ instead. (A Better Finder Rename does good things here.) - (The folder issues was caused by spaces in names expanding to 3 characters (%20) for EACH SPACE !!!! - NO SPACES !!!) Locked Files - Problematic copying or deleting (BATCHMOD will unlock files and go thru directories thru all files) PERMISSIONS - Still working on this one.... BATCHMOD could be a help but im still figuring out the "best" permissions and usr + group setup to make work among many flavors of MAC OSX - 10.3-10.6 !! ALIASES - These lil buggers seem to cause all kinds of problems. Would love to convert them to names with ext .txt and make them "unalias" - but never figured out how to do this. Find and Delete in Filebuddy tho this approach seems annoyingly difficult time wise. IF ANYONE KNOWS OF A PROGRAM THAT DOES ALL THESE THINGS IN ONE PASS - PLEASE ADVISE !! otherwise, trying to find drag and drop solutions to do one by one... In any case, as i learn the things i need to do to make my data happy on the nas, I get failed transfer folders... where errors occured during transfer and i need to "clean up" and start over. Cept it wont let me delete the folder under AFS EG on the mounted AFS share... Wondering if perhaps the routine that sets samba share permissions might fix it.... in UNMENU stuff alternately i guess i could telnet in, get to that directory and rm it... tho im not real comfy with terminal window Any other suggestions? Maybe CHMOD the folder from the terminal window? ((Im still trying to find the perfect permissions setting that allows everything to work via AFS without issues under 10.3 10.4 10.5 and 10.6 and having a rather frustrating time of it.... especially in 10.5 10.6)) ALSO: - writing a script to find anything with a resource fork and automaticly ZIP it correctly prior to transfer to the NAS - Though UNRAID w AFP under SAMBA allows you to have resource forks, eliminating them (and saving them all in one place - the zip file) is safer and long term stable for archives (And could make recovery MUCH easier for those data structures if ever had to) Tnx - DrD
July 11, 201015 yr Author this is what happens when i try and use the Unmenu User Script to set SAMBA file creation to 0644 and Directory Create to 0755 - Am i doing something wrong or is this a BUG!? sed -i -e "s/create mask = 0711/create mask = 0644/" /etc/samba/smb.shares +++ sed -i -e 's/create mask = 0711/create mask = 0644/' /etc/samba/smb.shares sed: can't read /etc/samba/smb.shares: No such file or directory sed -i -e "s/directory mask = 0711/directory mask = 0755/" /etc/samba/smb.shares +++ sed -i -e 's/directory mask = 0711/directory mask = 0755/' /etc/samba/smb.shares sed: can't read /etc/samba/smb.shares: No such file or directory smbcontrol smbd reload-config +++ smbcontrol smbd reload-config Can anyone tell me how to either CHMOD or RM the directory properly from the terminal window? Directory: /mnt/disk2/UNRAID/MUSIC/ is where the folder H A L F MP3 - 2 is which CANNOT be deleted (User does not have permissions)
July 11, 201015 yr this is what happens when i try and use the Unmenu User Script to set SAMBA file creation to 0644 and Directory Create to 0755 - Am i doing something wrong or is this a BUG!? sed -i -e "s/create mask = 0711/create mask = 0644/" /etc/samba/smb.shares +++ sed -i -e 's/create mask = 0711/create mask = 0644/' /etc/samba/smb.shares sed: can't read /etc/samba/smb.shares: No such file or directory sed -i -e "s/directory mask = 0711/directory mask = 0755/" /etc/samba/smb.shares +++ sed -i -e 's/directory mask = 0711/directory mask = 0755/' /etc/samba/smb.shares sed: can't read /etc/samba/smb.shares: No such file or directory smbcontrol smbd reload-config +++ smbcontrol smbd reload-config The "sed" command still referenced the samba file names use in older versions of unRAID. Yes, it was a bug. However, it is now fixed. I just uploaded the correction to Google.code, so if you use the "Check for unMENU updates button" on the user-scripts page and then press the button that then appears to download and install the updates you should get the updated user-script. Unfortunately, that does NOT change any existing file or directory permissions. Can anyone tell me how to either CHMOD or RM the directory properly from the terminal window? Directory: /mnt/disk2/UNRAID/MUSIC/ is where the folder H A L F MP3 - 2 is which CANNOT be deleted (User does not have permissions) Easiest way for you to deal with your existing files is to log in and use "mc" (midnight commander) Joe L.
Archived
This topic is now archived and is closed to further replies.