The tag has no wiki summary.

learn more… | top users | synonyms

31
votes
4answers
31k views

recursively change owner windows 7

Somehow i accidentally set all the files in a subfolder to no owner and i cant seem to change all the permission. I can change one by hand by changing the owner then setting permissions but how can i ...
11
votes
2answers
217 views

Is it possible to discover the current owner of a folder?

I am running the Windows 8 Enterprise x64. Here are the current security settings for a folder on an NTFS volume: I have access neither to the folder contents, nor to its security settings nor its ...
10
votes
3answers
987 views

How to make a file editable by two different users in different groups?

I have a folder at /home/www/, and the owner is www, which is part of the www-group. I have another user, john, part of the john group. How can I chown /home/www/ to make it writable by both www and ...
8
votes
1answer
6k views

sudo chown fails with operation not permitted

I have found similar questions here, but the answers provided to those questions do not resolve my problem. If I do: sudo chown <username> main.m I get an operation not permitted error. ...
5
votes
2answers
233 views

Restrict device ownership to root only. But why?

NSA's Guide to the Secure Configuration of Red Hat Enterprise Linux 5 recommands restricting device ownership to root only. So my question is why should we restrict device ownership to root? And ...
5
votes
3answers
3k views

Changing ownership without the sudo command

I was setting up a Ubuntu Server and I wanted to allow the FTP client to access the /etc/ folder. So I used the chown command to allow my account to use it. However, this changed the ownership of sudo ...
5
votes
4answers
5k views

I am unable to access my C drive. It says it is unable to display current owner

I am using a Windows 7 Ultimate OS, and my dad recently changed the setting in the sharing tab of my C drive to make it more private when I was using a shared network. Unfortunately, something he ...
4
votes
4answers
3k views

How to arbitrarily map user/group ownerships in rsync

I need to rsync a directory to a remote server so that all files belonging to user X and group Y on the source (local) machine are mapped to user W and group Z on the destination (remote) machine. If ...
4
votes
1answer
647 views

How can I change the registered name in Windows 7 to my own?

how do I change the registered name in Windows 7 to my own name?
4
votes
3answers
12k views

Get full control over every file/dir in a drive?

I recently installed windows seven pro on which I made an admin account, and then my regular account I use for everyday's use. My issue is that my other partitions contains plenty of data coming from ...
4
votes
3answers
7k views

How to preserve ownership and permissions in Dropbox?

I have two machines, a Mac and a PC running Linux, that I am trying to keep a certain file synced between using Dropbox. One of the files that I am syncing needs to be writable by another user ...
4
votes
2answers
198 views

Drive ownership corrupted Windows 7

A few weeks ago the fan in my laptop (HP Pavilion dv6) died. I took my computer apart to test the fan, which had definitely burned out, and ordered a new fan. In the meantime, there were files on my ...
3
votes
2answers
462 views

shell script - How to output the owner of a file

Is there a command to output the owner of a file, and nothing else? I suppose I could use ls and run it through sed, but if there is a better way, I would definitely use it. Thanks in advance.
3
votes
2answers
1k views

Can I chown /etc/hosts so my user owns it so I can edit it without sudo?

It's a bit inconvenient to have to sudo emacs /etc/hosts whenever I want to make a change to my hosts file, especially since I don't use a Terminal-based editor primarily. Could I change the ownership ...
3
votes
2answers
3k views

Take ownership of entire drive?

I bought a new pc and installed my old HDD as secondary drive , how can I take ownership of all files and folder on that harddrive. I remember there was some commandline tool icals or something which ...
3
votes
1answer
202 views

Member of Administrator Group in Windows is Displaying Administrators as Owner

Currently (and by default, I suppose), when a member of the Administrator group in Windows creates a file, the Administrators group has ownership of that file. How can I go about changing the default ...
3
votes
2answers
6k views

chown: changing ownership not permitted, even though running as root

I managed to configure my Raspberry Pi as an FTP server with ProFTPD. The only problem is, I can´t upload and rename files and Windows Explorer says: 350 File or directory exists,ready for ...
2
votes
4answers
13k views

No permission to see the files after using Migration Assistant in Snow Leopard

I have installed Snow Leopard in a separate partition in my machine. After verifying the installation was good, I went ahead to use Migration Assistant to restore my profiles and applications from the ...
2
votes
1answer
2k views

Avoid errors from tar failing to restore directory permissions

I observe the following behavior with both tar 1.26 and 1.27.1: $ mkdir a b a/diffowner $ sudo mkdir b/diffowner $ sudo chmod a+w b/diffowner $ echo foo > a/diffowner/foo $ tar -C a -cvf test.tar ...
2
votes
1answer
313 views

When I create files the owner / group is always root

On Linux, I am logged in as another user, I have added myself to wheel. wheel:x:10:root,allan I have uncommented the lines of /etc/sudoers ## Allow root to run any commands anywhere root ...
2
votes
3answers
749 views

WinSCP clobbers permission & group on replace

Is there a way to tell winscp to keep the group and permission of my upload file? I am tired of modifying webpages/webapp binaries and needing to change the group to www-data so the server can read ...
2
votes
1answer
58 views

HDD recovery on Windows

I recently tried to help someone out whose computer crashed (the reason why is not important for now) by recovering the HDD (i.e. remove it from the computer and plug into a docking station to backup ...
2
votes
0answers
67 views

Cross-platform owernship of files in a .zip folder

I have a PHP app that creates a .zip folder out of files that are restricted to specific groups using ACL, then submits it to the user to download. Specifically, everyone is allowed to read them, but ...
2
votes
3answers
10k views

Windows 8 Permissons: Copying a File, Access Denied, Despite Take Ownership

I just wiped my hard drive with Windows 7 and did a fresh install of Windows 8. I backed up my files on an external hard drive. When I tired copying my music over to Windows 8, I got this message for ...
2
votes
1answer
514 views

can't propogate permissions on HFS+ Lion, after copying data back from NTFS drive

I recently copied a bunch of data back from an NTFS drive I had used for backup, which had NTFS permissions of Everyone - Full Control. The copy was done using Linux Mint, with the 2 drives slaved ...
2
votes
3answers
888 views

Windows.old - How does it work? Contents have disappeared

When I installed Win8 Developer Preview over my WinXP, it produced a Windows.old that contained the old "Program Files" folder among other things. After a few weeks of mucking around with W8DP ...
1
vote
4answers
12k views

Take ownership in windows 7/8 does not work

I have taken ownership of my external HDD and now I should be able to access every folder but I can't. There are numerous folders for which I don't have the ownership of. I tried taking ownership of ...
1
vote
3answers
7k views

sudo equivalent configuration on Solaris 10

I am looking to configure on Solaris 10 to achieve the below: user=jon group=jtu jon is owner of /opt/app user=ken group=jtu ken is owner of /data On Linux I have added the below line %jtu ALL= ...
1
vote
2answers
182 views

Access denied to a file no matter what I do

I encountered a strange problem today. When compiling a C++ project using a Makefile, I generate a file called temp.log. It contains info about warnings should they be printed. However, I accidentally ...
1
vote
3answers
335 views

Major permission repair needed on Mac Os

I made the fatal error of copying and pasting a sudo command into my terminal without double checking it, here it is. sudo -R mysql / What this does (for those that don't know) is recursively change ...
1
vote
1answer
779 views

can't access/delete or retake ownership of previous MyPictures folder (win7)

I have a directory called pics which was configured as My Pictures folder, now I changed the location to another directory but I can't remove the old pics folder. When I go to the security properties ...
1
vote
2answers
829 views

Always have to chown when adding new file? Centos 6

Whenever I upload a new file to my server, I have to chown -R apache:apache /dir in order for it to be accessible. Is there an easier way around this?
1
vote
1answer
169 views

How to delete other's file on the server in LAN environment?

Our office has a LAN system, where we all are connected. And we have a common server to store data. My colleague created a folder for me on server from his computer previously. As he quit the job, now ...
1
vote
1answer
407 views

Going to reinstall Windows 7, will I have ownership issues with files on my external hard drive afterward?

I'm going to reinstall Windows 7 soon. I'm going to "backup" my files by copying and pasting them to an external hard drive. I had a lot of problems with file ownership while doing this when upgrading ...
1
vote
3answers
935 views

How Can I install Windows 7 with only the built in Administrator Account?

Back in the XP days, I tried a trick and it worked: if I wanted to install XP with only the administrator, I would turn off the computer during the installation when it asks for entering a name for a ...
1
vote
2answers
4k views

how can I do a Windows file search by file owner

I want to find a particular Excel file created by a past employee. All I know for sure is the file format (Excel 1997-2003) and the file owner's name. How can I search for this file on a Windows ...
1
vote
1answer
6k views

Force change owner of windows 7 user folder

I copied my c:\users folder to my external drive and now I want to access it in another PC but it says I don't have permissions to access and I can't change the owner of it. How can I force to change ...
1
vote
1answer
222 views

Who should own the root folder of a drive?

All partitions are NTFS. The system is Windows 7 Pro. It does not belong to a domain. I do use shared folders occasionally (both via the Homegroup and old school sharing). Should I set the owner to be ...
1
vote
0answers
130 views

Permissions denied on a folder the user owns (ubuntu linux)

I've created a subdirectory and assigned permissions will full r/w/x access granted to the user 'vvanglers': drwxrwxr-x 4 vvanglers team 4096 Feb 18 20:48 vvanglers However, when I su or ssh at ...
1
vote
1answer
1k views

Subinacl Access Denied using subkeyreg

I have windows 7 x86, I am the only user and Administrator of my pc. I want to be able to take ownership of the key(below) but subinacl will not allow it. ...
1
vote
1answer
410 views

NTFS 'Owner' missing when accessing hard disk from external USB adapter

I have a hard drive with Windows XP SP3 installed on it. When the drive is connected through the standard SATA connector inside the laptop, everything works as expected. However when I remove the ...
1
vote
1answer
1k views

How do Excel file ownership and permissions work on a shared network folder?

There is an Excel file on the server, 4 people are accessing it and editing it. At times if the file is already in use, there is weird message that it has been locked by 'user123' and user123 has ...
1
vote
1answer
791 views

Old hard drive file permissions still there

I have a new hard drive, put Windows 7 on it and want to get all the files off of my old hard drive. I put in my old hard drive as a slave drive. I can see the files but when I try to move 'em, it ...
1
vote
4answers
231 views

Groups issue on Ubuntu

I am member of couple of groups lets say Master, Student, Web. The problem is that by default whatever I do is first created under student group. I need to set it so it is created with Web group. ...
0
votes
2answers
42 views

check ownership of windows drive through cli

I am trying to figure out who the owner of a windows drive is through the command line and cannot seem to find the right command to run. I know about the takeown command to take ownership of a drive, ...
0
votes
3answers
11k views

Root directory permissions on Mac OS X 10.6?

I was wondering if it's normal that the root directory / should be owned by “root”. I get asked for my password every time I want to do something there (e.g. save a file, create a directory) and I ...
0
votes
2answers
99 views

How do I determine DNS domain ownership authoritatively?

There seem to be various "hacks" that sort of try to confirm domain ownership (e.g. see Google's list), but it appears to me that they usually verify something else, even if closely related. For ...
0
votes
2answers
111 views

changing the ownership of a file in linux

I have a file "test" on an Ubuntu system owned by the root. The ls -l option is shown below. $ ls -l test -r--r----- 1 root abacus 373 Nov 12 19:19 test I know that only the owner of a file can ...
0
votes
2answers
711 views

Have sudo create files under your own user id?

If I wanted to do something like sudo fdisk -l > test.txt but I wanted test.txt to be under my own user ID (and not root) without having to chown it afterwards, is there a way to do this? ...
0
votes
3answers
2k views

Why user becomes nobody?

I have a problem about linux user, I use a command to add user like: useradd -u 532 -d /data/test01 -g test test01 but when I login as test01 and run mkdir x, it becomes like: nobody test x ...