All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
strange mkdir permission denied
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
strange mkdir permission denied - Apr. 20, '06, 11:42:13 AM
|
|
|
Ron
Posts: 77
Joined: May 21, '03,
Status: offline
|
All our user’s home directories are on a net drive and for some strange reason we cannot create directories from within our home directories using a SFU 3.5 (also tried R2 SUA) shell but in the win32 environment we have no problem in creating, modifying or deleting directories. As for file creation, there is no problem in SFU, it seems to be related only to directories.
I’ve read the following thread http://www.interopsystems.com/tools/tm.aspx?m=5782 which seems to be identical to this issue. I understand the recommendations that were made to correct this, but what I fail to understand is ‘why’. Why would it work using Win32 but not SFU? Why do users need to have full control (as opposed to modify/read/write) of a parent directory so that SFU can create a sub-directory?
Thanks,
Ron
$ mkdir test
mkdir: test: Permission denied
$ ls –alFd rmacneil
drwxrwx---+ 1 +Administrators +Administrators 0 Apr 20 08:27 rmacneil/
$ cacls rmacneil
\\idgdata\users\RMacNeil BUILTIN\Administrators:(OI)(IO)F
BUILTIN\Administrators:(CI)F
AD\rmacneil:(OI)(IO)C
AD\rmacneil:(CI)C
NT AUTHORITY\SYSTEM:(OI)(CI)F
$ id
uid=1051344(RMacNeil) gid=1049089(Domain Users) groups=1049089(Domain Users), 65792(+Everyone), 131616(+Administrators), 131617(+Users), 66820(+INTERACTIVE), 66827(+Authenticated Users), 4095(CurrentSession), 66048(+LOCAL)
|
|
|
RE: strange mkdir permission denied - Apr. 20, '06, 12:54:29 PM
|
|
|
Ron
Posts: 77
Joined: May 21, '03,
Status: offline
|
I think I can answer my own question this time. I did some more testing and I see that I cannot change the permissions on a file that I created in my home directory, and that makes sense since I do not have 'Full Control' over this directory. And this is probably what is happening when I try to create a sub-directory using mkdir, SFU probably needs to set suplemental permissions on the sub-directory in order for it to work correctly via SFU and it cannot, therefore it fails.
Ron
|
|
|
RE: strange mkdir permission denied - May 8, '06, 4:56:20 PM
|
|
|
Ron
Posts: 77
Joined: May 21, '03,
Status: offline
|
Well I wasn't 100% correct in my last reply. Once I've been given authorization to meddle with my home directories' permissions, I change the owner to myself, granted myself full permissions, I even tried to recreate the directory from scratch using only the SUA (SFU) tools; but nothing worked.
Then I remembered that network shares have their own set of permissions. I logged into the home directory server (which is a win2000 server), checked the permissions on the network share and sure enough there I saw the problem. Regular users had only the 'Change' and 'Read' permissions but not the 'Full Control' permission! I granted 'Full Control' to the regular users, and voila, it works.
I didn't need to be the owner and have full control over my home directory after all, only needed it at the share level.
Ron
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|