July 7, 201411 yr I'm not totally sure if this is an unRaid issue or a Windows issue, but hopefully someone here can help. I have among others a large share of music files. There are a handful of files that have near duplicate .tmp files in the same folder, and I think this is the way Windows marks that file as being open by another application. In this case, I am confident no one else could possibly have them open. However, I can't modify the original file, receiving an error that says "Disc is write protected or file is busy by another application" and I can't delete the .tmp file receiving "You need permission to perform this action" **edited below** My user account on unRAID gives me full permission, but now that I go back and check, I can't delete anything in that share. I'm fairly certain this has not always been the case. Any ideas on how to solve this? I think there are in multiple directories so if I can figure out how to delete them I'm going to have to search for them. The configuration in my profile signature below is current. Thanks for any help.
July 7, 201411 yr Firstly, can I ask what the share security settings are on that share? Also, it sounds like you're doing your deletes via an explorer window not via telnet/openssh to the server console direct? I dont think thats standard practice for windows, and would suspect a third party application creating the .tmp files (personally). Perhaps even on the server itself.. 'Headphones' or the like updating mp3 metadata for example? the search and delete is very straightforward once we get to the bottom of it; find /mnt/user/Music -type f -name '*.tmp' -exec rm -i {} \;
July 7, 201411 yr To find out what files are open by what process you can do lsof /mnt/* Simplefeatures is deprecated and incompatible with 5.0.5. Try Dynamix instead.
July 7, 201411 yr Author Firstly, can I ask what the share security settings are on that share? Also, it sounds like you're doing your deletes via an explorer window not via telnet/openssh to the server console direct? I dont think thats standard practice for windows, and would suspect a third party application creating the .tmp files (personally). Perhaps even on the server itself.. 'Headphones' or the like updating mp3 metadata for example? the search and delete is very straightforward once we get to the bottom of it; find /mnt/user/Music -type f -name '*.tmp' -exec rm -i {} \; Yes I am working via Explorer. It was probably not obvious from my post, but I did make one edit last night. Originally I thought my access restrictions were constrained to the ".tmp" files, but they are not. I was using a program called Tag and Rename that allows you to edit file tags in bulk. There are a handful of files it can't change saying they are open in another program, those are the ones that have a duplicate tmp file name. I had seen this occur with "open" files in windows before in another instance, but I think you usually only see them in a normal windows environment if you show hidden files. I realized after writing my initial post and edited lat night, t's not, just the .tmp files, I can not delete anything from this share. My user ID does have read/write privileges. This was the edit I made. I am not home, so I can probably answer any specifics on the security settings, but won't be able to just run through settings until I am home tonight. Thanks again for any help. Sent from my iPad using Tapatalk
July 8, 201411 yr Author To find out what files are open by what process you can do lsof /mnt/* Simplefeatures is deprecated and incompatible with 5.0.5. Try Dynamix instead. Thanks i'll dump simplefeatures this week. I'm pretty sure this is an access rights issue to the share now. If i can solve that, should be able delete the tmp files.
July 8, 201411 yr Author Firstly, can I ask what the share security settings are on that share? Also, it sounds like you're doing your deletes via an explorer window not via telnet/openssh to the server console direct? I dont think thats standard practice for windows, and would suspect a third party application creating the .tmp files (personally). Perhaps even on the server itself.. 'Headphones' or the like updating mp3 metadata for example? the search and delete is very straightforward once we get to the bottom of it; find /mnt/user/Music -type f -name '*.tmp' -exec rm -i {} \; SMB Security Export - Yes Security - Private There are 3 users. Guest - read only me - read/write wife - no access (not needed in this case) i can access but dont have rights to change anything. I will say I've also had an issue with my wife's account on a share she does use. it just doessn't work. says she doesnt have access rights. I have to log in with my account on her machine. This has been an issue forever with her, through two laptops and several unRaid starting in 4.0 I did run "New Permissions" when i went to 5.0 a while back. Should I try this again?
July 9, 201411 yr Author You can see the file permissions of all files in the current folder with ls -al never had to use that command before.. so I want to go through telnet (Puddy), and i shoud enter the directory in question? how do I get from the root directory to a shared folder in Puddy?
July 9, 201411 yr Your user shares are at /mnt/user/<sharename>. You can change directories with the cd command. So cd /mnt/user/Music would take you to the user share name Music. Once in a directory, you can change to a subdirectory using the cd command again. So then cd Rock would take you to the Rock directory under the Music directory. Lots of Linux resources on the internet. I'm not really that good myself.
July 9, 201411 yr Author I ran the permissions utility again last night and it appears to have done the trick. Why would I have to do this again? Sent from my iPad using Tapatalk
Archived
This topic is now archived and is closed to further replies.