Solved

No Owner listed on a file and I can not add or change owner

Posted on 2006-11-15
14
1,894 Views
Last Modified: 2013-12-04
I have some PDF files in a particular network share that were converted from Word 2002 (XP). The conversion went fine and later the files were edited, a page was removed and another one was added. When the user went to save the file she could not because access was denied. The folder permissions are wide open (everyone has full access) but two files are like this. I tried to change the owner (while logged in as the domain administrator) but I can not do that either.

I also added the owner field to my view in explorer but these files do not have an owner listed. Also using the attrib command no attributes are listed.

How can I change the owner and reset the owner for these files?
0
Comment
Question by:pepadmin
14 Comments
 
LVL 10

Expert Comment

by:AndresM
ID: 17949429
SubInACL (SubInACL.exe)

Brief Description
SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
0
 

Author Comment

by:pepadmin
ID: 17949668
I tried using this command but it didn't work. Access Denied.

I installed and ran the command from my machine, I am a domain admin but still get access denied. Is there a certain feature I should use other than setowner?
0
 
LVL 10

Expert Comment

by:AndresM
ID: 17949765
you can try with /grant, I think the syntax should be /grant=Everyone=F
0
 

Author Comment

by:pepadmin
ID: 17949797
Still getting access denied.

tried sgrant, even display and many other commands.

everytime I get access denied.
0
 
LVL 10

Expert Comment

by:AndresM
ID: 17949821
Sorry... The only think I would try is run the command from the server.
0
 

Author Comment

by:pepadmin
ID: 17957990
no luck there either, any other ideas?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 10

Expert Comment

by:AndresM
ID: 17958160
mm.. may be you could try subinacl at the directory level instead file level
0
 

Author Comment

by:pepadmin
ID: 17967850
Access denied, It goes through all of the files but still fails on the corrupt one.
0
 
LVL 10

Expert Comment

by:AndresM
ID: 17967876
may be this?

Sometimes, you may experience combinations of these causes, which can make the procedure to delete a file more complex. For example, if you log on as the computer's administrator, you may experience a combination of Cause 1 (you do not have permissions to delete a file) and Cause 5 (the file name contains a trailing character that causes file access to be redirected to a different or nonexistent file) and you may not be able to delete the file. If you try to resolve Cause 1 by taking ownership of the file and adding permissions, you still may not be able to delete the file because the ACL editor in the user interface cannot access the appropriate file because of Cause 6.

In this situation, you can use the Subinacl utility with the /onlyfile switch (this utility is included in the Resource Kit) to change ownership and permissions on a file that is otherwise inaccessible, for example:
subinacl /onlyfile "\\?\c:\path_to_problem_file" /setowner=domain\administrator /grant=domain\administrator=F
Note This command is a single command line it has been wrapped for readability.

This sample command line modifies the C:\path_to_problem_file file that contains a trailing space so that the domain\administrator account is the owner of the file and this account has full control over the file. You can now delete this file by using the Del command with the same "\\?\" syntax.

You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/kb/320081
0
 

Author Comment

by:pepadmin
ID: 17982797
Still not working. I am going to shorten some of the folder names because I realized that the path is over 128 characters (not sure if this is still relevant but I don't know what else to try. I have to get the change cleared first though so if you think of anything else please let me know.
0
 
LVL 2

Expert Comment

by:ACCUmarc
ID: 17983127
Can you copy the file to a Non-NTFS disk?  
0
 

Author Comment

by:pepadmin
ID: 17989846
I got it!!

I am kicking myself for not checking this sooner but there were threads open for the file on the server, even though no one had them open. Once I cleaned up the open threads everything was fine.

sorry for all of the drama
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 21101042
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now