Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

learn more… | top users | synonyms (1)

17
votes
6answers
2k views

Password protect a folder

What are the available options for password protecting a folder? I'm talking about requiring a password to actually access the folder, not just user access rights. Is the third-party software out ...
10
votes
3answers
1k views

How do you edit hosts file on Windows 7

I'm trying to edit the hosts file (C:\Windows\System32\drivers\etc\hosts), because I want to setup a local redirect for my website (like I've always done in XP). However, I can't save the changes! I ...
21
votes
3answers
64k views

Reset File and Folder Permission of External Hard Drive Data to default in windows 7

I have External Hard and changed some security setting of files and now I am not able to access in my other system. I am admin in this system is there any tool that can make all setting of all content ...
12
votes
4answers
8k views

Linux Group Permissions not being enforced correctly.

I am running Ubuntu 10.04 server and am having some very counter-intuitive experiences with users/groups. For example: sudo touch test_file # create empty file sudo groupadd test ...
3
votes
1answer
3k views

What does it mean when a file is blocked in Windows?

When some files are downloaded from the internet, they are blocked. Some files can still be opened even if they are blocked... I can see whether a file is blocked by opening the file properties ...
6
votes
3answers
10k 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 ...
12
votes
3answers
43k views

How to prevent users from deleting a folder, while still giving them modify permissions to its contents?

I am trying to prevent users from accidentally deleting certain folders (such as their personal scan destination folder - stored in their home drive), while still giving them read+write permissions to ...
5
votes
2answers
2k views

All folders in all drives are set to read only on Windows XP and can't be changed

I am using windows XP and all of my folders on all drives are now read only. When I remove the read only check, it gets set back to read only. Why? I cannot write any file from my flex application. ...
2
votes
4answers
2k views

Folder cannot be deleted

I am using Windows XP Home Edition. When I try to delete a folder I have named cygwin. When I try to delete it or any file or folder within it, there is a long pause, and then an error pops up, ...
2
votes
1answer
3k views

How do I restore TrustedInstaller as the owner of the Program Files directory?

Okay, I can see a look of bewilderment on your faces--and this is going to sound super dumb, but before Vista, I used to like to manually install programs into the Program Files directory. Just create ...
0
votes
1answer
1k views

WINDOWS: Taking Back/Restoring Default Ownership Permissions of directory

I have a 1TB external (USB) HDD which i used for additional data storage (mostly media files). Unfortunately, i appear to have changed the permissions on one of the sub-folders, and this is my ...
101
votes
5answers
135k views

Permissions on private key in .ssh folder?

I changed my permissions in my .ssh folder and now when I use a piece of software that uses my private key, I have to type my password each time. What should my permissions be on my id_rsa file to ...
22
votes
3answers
2k views

Subverting the execute flag on Linux systems. Why is this possible?

Whilst reading this, I found the following exploit: % cp /usr/bin/id ~ % chmod -x ~/id % ls -al ~/id -rw-r--r-- 1 edd edd 22020 2012-08-01 15:06 /home/edd/id % ~/id zsh: permission denied: ...
15
votes
5answers
17k views

Why can't I delete a file where I have group write permissions on?

I have a file with the following permissions: root:data, and chmod set to 775. My normal user, let's call him boby, is in the data group. Why can't I delete the file with the user boby? ...
8
votes
1answer
31k views

How do I add permissions via command line for “everyone” on external HDD

I have an external HDD and I kind of messed up the file permissions but when fixing it I thought it is ok bc with my username I can access the files perfectly fine. Now that I use this with two PC ...
6
votes
3answers
7k views

Limit every user to his own home folder only

i have a linux server which users connect to with SSH. my users only upload and download content from their /home folder. Basicly, I want them to be limited to see and use only their home folder. I ...
16
votes
3answers
56k views

Windows 7 - Cannot remove read-only attribute

I am logged in on my admin account. When I was trying to edit a python project using PyCharm (an IDE), it told me that the folder was marked as read-only (square box). I open the folder in explorer, ...
5
votes
1answer
790 views

What is the + at the end of Unix permissions in a long listing format?

Here's an example drwxr-xr-x+ 6 reza reza 204 Mar 5 20:23 .ssh/ Although I am the owner of this directory, I cannot modify it without using sudo! Why is that? how can I remove '+' here ...
3
votes
1answer
677 views

TrustedInstaller Preventing Deletion of Files/Folders

I'm looking to free up space on my computer by deleting some unnecessary files and folders I found in Program Files (x86). A problem I came across was a "Folder Access Denied" where it stated that ...
0
votes
3answers
7k views

Linux User Permissions?

I have two users, user1 and user2 which are both in a group matching their user name. I'd like both users to have full r/w/x permissions on all of each other's files as default without having to CHMOD ...
6
votes
3answers
7k views

Why are file permissions retained when moving files within the same volume?

Ocassionally, we have the problem that a file has permissions different from the folder where it's in. Now I found out that there's a KB article explaining the reason behind this: By default, an ...
5
votes
0answers
3k views

What does the @ mean in the Mac OS X file permissions? [duplicate]

Possible Duplicates: what is the @ after the permissions for in ls -l on a mac? ls -la symbolics… what does that last symbol mean? Running a "ls -l" on a folder I get : .... ...
5
votes
3answers
180 views

Understanding file permissions

What is the ending r for and the leading d for in file permissions on Linux? Example: drwxr-xr-x I know about the user, group, others part, and I know w=write, r=read, x=execute. But I don't know ...
1
vote
1answer
433 views

Is it unusual for users with NTFS “write” but not “delete” permissions not to be able to modify files?

I recently removed a user's NTFS "delete" permission (leaving them with full read/write access to a share), only to discover that they effectively only had read but not write access to their files. ...
1
vote
1answer
7k views

How to deny delete/modify permission to a file?

I want to deny myself the ability to modify or delete an executable. When .NET Reflector asks you if you want to update: and you choose No it spontaneously deletes itself as ...
1
vote
1answer
865 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 ...
0
votes
0answers
28 views

Win 8.1: Made new VHDs/ TXTs & copied to D partition of another machine, on booting C off 2nd machine, files not visible?

Win 8.1: Made new VHDs/ TXTs & copied to D partition of another machine, on booting C off 2nd machine, files not visible? This is plain weird. How and Why? PS: I check Security tab and it ...
0
votes
1answer
2k views

How to recover Windows 8 authenticated users access if denied for a particular folder

I've got Windows 8 and trying to restrict access to a particular folder on my D: drive for other user accounts, and set permissions for the authenticated user group in security tab as denied. Now I ...
0
votes
2answers
194 views

Linux permissioning issues

I'm trying to create a MySQL table on a different hard drive than the default. I get a permissioning error when MySQL tries to create the file. I think I can boil it down to the following lines of ...
10
votes
2answers
18k views

Forcing group and permissions for created file inside folder?

I need that for the folder /var/www when my user testuser creates a file the permissions are g+rwx and the files belong to the group www-data Any idea of how could I do that ? Cheers. EDIT: I'm ...
22
votes
2answers
13k views

Ensuring new files in a directory belong to the group

I want to create a shared directory when a number of users (all belong to say mygroup) can create and edit files. I would like all files in this directory and subdirectory to belong to mygroup I have ...
19
votes
3answers
23k views

Why can't I edit a “Program Files” file on Windows 7?

I'm having trouble editing this file on Windows 7: C:\Program Files (x86)\CMake 2.8.7\share\cmake-2.8\Modules\FindJNI.cmake If I edit it in Cygwin (vi) or TextPad, those two programs see the ...
3
votes
2answers
10k views

Copy security permissions of one file to another

I would like to replicate the permissions of a file to another. I do not want to copy the data, only the permissions. For example, I created a new file and want it to have the same permissions as ...
9
votes
1answer
7k views

Linux - group member cannot delete file with rw permission

Below shows a file, /tmp/testfile, owned by user1 with group changed to wheel that also includes user2. The file has rw permission for the group. So shouldn't any member of the group be able to delete ...
15
votes
3answers
32k views

Linux – cannot remove owned file with 777 permissions

I've couple of files that I cannot remove using rf -Rf command. I'm the owner of those file and the group assigned to those files is also a group my user is in. What's even weirder is that I can edit ...
7
votes
5answers
13k views

Extract file and folders with specified permissions

I pack a folder with lot of sub-folders and files in Windows with 7zip, upload to VPS and then run the command: tar -xvzf file.tar.gz then all unpacked files and folders have permissions of 777. ...
5
votes
3answers
23k views

rsync Permission denied backing up a remote directory to my local machine

I'm getting the error mentioned in the title. I found this similar question: Run rsync with root permission on remote machine. That doesn't answer my question. I'm the admin on the remote server ...
4
votes
1answer
273 views

Is there a way to give NTFS file permissions to users from other Windows installations?

I am trying to set file permissions so users from two Windows installations can access certain files from a shared NTFS hard disk, withouth resorting to give "Everyone" permissions. From within an ...
4
votes
2answers
4k views

ssh and home directory permissions

sshd will refuse to accept public key authentication if the user's home directory is group-accessible, even if ~/.ssh is set to 700? If the permissions on ~/.ssh are acceptable, why do the permissions ...
4
votes
4answers
21k views

Windows 7 Unable To Delete Folder in “Programs Files”

I am trying to delete the folder in C:\Program Files\McAfee\VirusScan\Current as a member of the computer’s Administrators group. This is a standalone computer, so no domain or anything. The original ...
4
votes
3answers
900 views

List all files/folders a user may delete? Linux

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption). What command or script might i use to check this?
3
votes
1answer
1k views

Strange permission changes when saving file on a Samba partition from a Windows editor

I'm trying to figure out why a specific behavior is exibited when perms change on a file being saved from a Windows editor on a SAMBA-mounted Unix partition. Situation: We have a file on Unix, with ...
3
votes
2answers
988 views

Fixing mac user file permissions, not the system

Usually those files get wrong permission when coming from the network, even when I copy them from it, but mostly through "file sharing". So, definitely not talking about Disk Utility repair here, ...
2
votes
3answers
7k views

Should or shouldn't I remove the 'Everyone' group from my shared folders?

I'm wondering whether to completely remove the Everyone group from my shared folders. I remember one time I did and it screwed up the machine meaning not even the Administrator account could access ...
1
vote
1answer
4k views

How to run a program with elevated permissions from a limited permission user account without administrator password?

Pretend that I am a Karaoke DJ running a show with the application Sax & Dottys which only runs on Windows. I would like to hire someone to run the show for me in my absence. This means they would ...
1
vote
1answer
1k views

Why can I see a file that I own in CygWin but not in Windows Explorer?

I installed Cygwin in Windows 7 and was browsing through the c:/cygwin/ directory in the Cygwin terminal. There exists a directory bin/ at the path c:/cygwin/usr/bin, but I cannot find this folder in ...
1
vote
1answer
7k views

You dont currently have permission to access this folder error

I bought a new SATA Hard drive and installed a fresh copy of Windows 7 on it. I also installed my old one beside the new SATA HD. Now I want to access my images / musics and videos but I get this ...
5
votes
5answers
5k views

File Name Warning for C:\Program

Since a few weeks I get the error message after login: File Name Warning There is a file of folder on your computer called "C:\Program" which could cause certain applications to not function ...
5
votes
6answers
52k views

All files in my PC are stuck on “read only”, even as the only admin

Windows 7, 32-bit: There is 1 user account in this PC, and that is my account. What I do is, I right click to a folder and uncheck the read only option, apply, close. After when I reopen the ...
4
votes
2answers
896 views

Windows 7 HOSTS files keeps reverting it's permission back to READ-ONLY

As a full-time Web Developer I am constantly adding fake domains to my Windows 7 HOSTS file to point a domain to my localhost web server that I develop on. I have even built a nice little PHP script ...