March 16, 20179 yr All of my MEDIA share's files are suddenly semi-read-only. All existing files have a lock over their icon in the file browser. I can alter the folder names, but I cannot alter or delete the existing files. I can write new files to the share and these are NOT locked. I tried both -n and -nv of the XFS repair utility on each data disk (in maintenance mode), but nothing usable was displayed. I ran a smart test on each data disk. I tried Docker Safe New Perms and desperately New Permissions on all disks, Media share. I even tried setting SMB to public. Any suggestions to re-enable full read/write of this secure share? tower-diagnostics-20170315-2020.zip Thanks crew (this one is driving me nutso) Edited March 16, 20179 yr by landS
March 16, 20179 yr Author Here are 2 example locations. SSH'd in as root. I have NO idea why these would suddenly be -r--r--r-- ls -la /mnt/user/Media total 20 drwxrwxrwx 1 nobody users 120 Mar 15 20:40 ./ drwxrwxrwx 1 nobody users 21 Mar 15 20:56 ../ drwxrwxrwx 1 nobody users 4096 Mar 13 00:01 AudioBooks/-r--r--r-- 1 nobody users 205 Sep 13 2016 CleanMusic.bat.txt drwxrwxrwx 1 nobody users 161 Apr 1 2016 Games/ drwxrwxrwx 1 nobody users 290 Mar 13 00:10 Movies/ drwxrwxrwx 1 nobody users 34 Mar 15 20:40 Music/ drwxrwxrwx 1 nobody users 4096 Jan 10 00:00 MusicVideo/-rw-rw-rw- 1 nobody users 963 Sep 14 13:32 Notes.txt drwxrwxrwx 1 nobody users 10 Feb 18 2015 System\ Volume\ Information/ drwxrwxrwx 1 nobody users 4096 Mar 15 00:00 TV/ ls -la "/mnt/user/Media/Music/0 Musical/American murder song/EP IIII. Marks delete me" total 39540 drwxrwxrwx 1 nobody users 195 Mar 13 00:00 ./ drwxrwxrwx 1 nobody users 154 Mar 15 20:40 ../-r--r--r-- 1 nobody users 8555884 Mar 10 07:06 06\ Wake\ Up.mp3-r--r--r-- 1 nobody users 9047608 Mar 10 07:06 07\ A\ Body\ On\ The\ Step.mp3-r--r--r-- 1 nobody users 8218672 Mar 10 07:07 08\ A\ Black\ Matilda.mp3-r--r--r-- 1 nobody users 6981532 Mar 10 07:07 09\ The\ Indiana\ Man.mp3-r--r--r-- 1 nobody users 7678924 Mar 10 07:07 10\ I'm\ Always\ Walking\ As\ Somebody\ Else.mp3
March 16, 20179 yr What created the files (or modified them)? Doesn't usually happen that permissions just change
March 16, 20179 yr Author the only machine that has access to anything other than read of that share is my laptop... Which uses Elementary OS (ubuntu flavour) Which I manually enter the UserName/Workgroup/Password every-time I navigate to the share and want to write (I have it set to forget credentials immediately after the share is ejected from the navigation scree). If I just want to read I hit cancel when the network credentials pop up As of 2 days ago, everything has been humming along nicely. issue was very noticeable tonight (most every file with a lock over the icon). I loaded up a Win7 VM from my second unraid machine and attempted to open this share... it has the same issue with read-only permissions of files. edit: the only time this laptop has been on in the last 3 nights has been for some minor read/write of media files as I just purchased 2 new cds, a new audiobook, and I have an 8 hour drive in a couple of days. the vast majority of the time the Media share is only read only to the network Edited March 16, 20179 yr by landS
March 16, 20179 yr Author SOLUTION ...So... 2 nights ago I did 1 thing besides copy some of my new media around. ... On my second Unraid machine I opened a seldom used Windows7 vm (I boot it up for the silly development work that requires windows machines 1 or 2 times a year) to update it's software... which had not been updated in 6 months... which stupidly uses the same username/password/workgroup as my Media Share Read/Write user. Looks like SOMETHING occurred in the long update process that reached out and flipped read only of the entire share. maybe I hit it by mistake (possible as my teething toddlers night pains are keeping us all up)... maybe it is something a bit more sinister... but now I have that VM open again... and the read only flag of the share is being turned off on the main folder and all subfolders/files (30 minutes to go). I tried turning the read only flag off from my Linux laptop (no joy), from the unraid root command (no joy, but may have screwed up), and from my wifes windows 10 laptop (which has never before been given read/write to this share... thank goodness for net use net use \\somecomputeronmynetwork\somelocation$ /delete How... bloody... embarrassing/irksome. I remember changing the VM password when all the SMB updates where causing mismatched windows username login issues and didnt have time to troubleshoot... looks like I forgot to change it back Edited March 16, 20179 yr by landS
Archived
This topic is now archived and is closed to further replies.