November 10, 201015 yr I'm a relatively new UnRaid user and have run 4.5.6 for about a month or so. A week ago I upgraded to 5.0 beta to experiment with the new security feature. Things are working well but I'm seeing one small issue. Sometimes when I copy a file to an UnRaid user share from a Windows XP box the owner is set to root. For example: I have a user share named "Movies" (with security set to Public) and I copy files to it from a Windows XP box. If I then telnet into UnRaid and look at /mnt/user/Movies. Sometimes the files are there with an owner of nobody but sometimes they have an owner of root. I can run newparams and it will set the owner correctly but I thought all new files should be created with nobody automatically? I did a search and haven't seen anyone else with this issue so I assume I'm just missing something. Anyone have any ideas? Thanks, Greg
November 10, 201015 yr Author OK, I think I see what's happening. My share 'Movies' has public security. I also have another share 'test' that has private security and is shared as 'hidden'. I can reproduce my problem like this: 1. In Windows XP I open Network Places and browse to my UnRaid server and then to Movies share. Copy a file into 'Movies'. telnet to tower and ls -la shows files copied over to 'Movies' share have an owner of Nobody (which I believe is correct). 2. I close the 'Movies' window and enter \\tower\test in a file explorer window and enter my user name and password when prompted. I can successfully see the contents of 'test' share. 3. Follow step 1 again. The file copied to 'Movies' this time has owner of root. 4. I close both windows and run 'net use \\tower\test /delete' on a command line in Windows XP. 5. Follow step 1 again. The file copied to 'Movies' this time has owner of nobody. So I guess I have a simple workaround. I just have to make sure I run step #4 before I copy anything into a share with public security. Greg
November 11, 201015 yr OK, I think I see what's happening. My share 'Movies' has public security. I also have another share 'test' that has private security and is shared as 'hidden'. I can reproduce my problem like this: 1. In Windows XP I open Network Places and browse to my UnRaid server and then to Movies share. Copy a file into 'Movies'. telnet to tower and ls -la shows files copied over to 'Movies' share have an owner of Nobody (which I believe is correct). 2. I close the 'Movies' window and enter \\tower\test in a file explorer window and enter my user name and password when prompted. I can successfully see the contents of 'test' share. 3. Follow step 1 again. The file copied to 'Movies' this time has owner of root. 4. I close both windows and run 'net use \\tower\test /delete' on a command line in Windows XP. 5. Follow step 1 again. The file copied to 'Movies' this time has owner of nobody. So I guess I have a simple workaround. I just have to make sure I run step #4 before I copy anything into a share with public security. Greg If I understood that correctly this is not so much an unRAID problem. Windows holds onto that login for \\Tower\test when you navigate back to the Movies Share hence the reason the owner ends up being root. Now, with that said Tom may be able to do some checking and setting of the permissions based on the security settings for the specific share.
November 11, 201015 yr Author The funny thing is everything in the 'test' share (with Private security) has nobody as owner as a result of running the newparms script. From Windows everything in the 'test' share is visible and accessible even though it has owner of nobody. Greg
Archived
This topic is now archived and is closed to further replies.