Access and restrictions of files, documents, accounts, computers, etc.

learn more… | top users | synonyms

1
vote
0answers
14 views

Vim can break file permissions?

I was using Vim the other day as usual, when I noticed something strange. Here's what I did: ~$ touch testfile ~$ ls -l | grep testfile -rw-r--r-- 1 username groupname 0 Jul 23 10:00 testfile ~$ vim ...
16
votes
1answer
14k views

How do file permissions apply to symlinks?

Let's say you have this structure: + directory -- file1 -- file2 -- file3 -> /tmp/file3 file3 is a link to another file3 somewhere else on the system. Now let's say I chmod 777 the directory ...
0
votes
0answers
11 views

Trying to rsync and use sudo on other end

Scenario: Mac OS X Machine - old computer - user: john.doe Mac OS X Machine - new computer - user: john.doe Goal: Copy /Users/john.doe/Desktop and /Users/john.doe/Documents via rsync Problem: ...
16
votes
3answers
40k views

How to set file permissions so that new files inherit same permissions? [duplicate]

I have a folder in which new subfolders and files will be created automatically, by a script. I want to maintain the user and group permissions recursively for all new folders and files placed in the ...
17
votes
2answers
872 views

What does the trailing “+” mean in file permission bits in Linux?

I used ls -a to list a file and got the following information: sqyang@intel4-88: ls -a 123 -rwxr-xr-x+ 1 root lsf 16845584 Nov 25 21:38 123* The file permission part is -rwxr-xr-x+. What does the ...
24
votes
7answers
5k views

What does the @ mean on the output of “ls” on OS X' terminal?

When doing an ls in a directory I get the following output: drwxr-xr-x@ 12 xonic staff 408 22 Jun 19:00 . drwxr-xr-x 9 xonic staff 306 22 Jun 19:42 .. -rwxrwxrwx@ 1 xonic staff 6148 25 ...
0
votes
0answers
59 views

Windows Search folder constantly recreated

Today I noticed the Windows Search service wasn't running. I recently rearranged a bunch of disks so I figured it just got confused. I tried to start the service manually but I got Error 3: The system ...
40
votes
3answers
64k views

How to make new file permission inherit from the parent directory?

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to ...
0
votes
2answers
16 views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
0
votes
0answers
24 views

Windows 8.1 has locked down “c:\windows\Downloaded Program Files” can't manually install/remove plugins for IE

I've discovered that the folder c:\windows\Downloaded Program Files\ where IE puts ActiveX plugins that have been installed ... is seriously locked down in windows 8.1 The situation I'm seeing is ...
36
votes
5answers
144k views

How do I get permissions to delete files on Windows 7?

I updated my laptop's OS from Windows XP to Windows 7. There are some leftover files from Windows XP on the computer now. If I try deleting them I get the following error: You need permission to ...
0
votes
0answers
52 views

Permission denied when moving directory in VLC

I am trying to build VLC in Windows with Mingw and MSYS. When I run the following commands: ../bootstrap --build=i686-w64-mingw32 make prebuilt This error stops the build process: mv: cannot move ...
1
vote
2answers
5k views

Permission denied when copying a DLL

Windows is denying me permission to copy a dll from a mounted image. It says I need permission from all users to make any changes to the above mentioned file. Any suggestions?
0
votes
4answers
4k views

Ubuntu 12.04 Server: permissions on /var/www for newly copied files

I ran the following commands to set up ACL on the /var/www folder in my Ubuntu 12.04 Server: sudo usermod -g www-data abe sudo chown -R www-data:www-data /var/www sudo chmod -R 775 /var/www I ...
1
vote
2answers
24 views

Permission denied when attempting to mv (sudo su userName)

I am currently working on a backup script to log into my production server and pull the latest SQL dumps to my staging server. I have no issue pulling the SQL dumps but I do have an issue with moving ...
1
vote
2answers
514 views

Unix File Permissions issue

I want to set permissions such that whenever a directory is created by a 'user' then its default permissions should be 775. But when that 'user' creates a new file then default permissions should be ...
0
votes
0answers
63 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
3
votes
2answers
3k views

How to fix broken AppData permissions in Windows 8

Not knowing that this is a bad mistake — or maybe a massive bug in Windows 8 — I shared my complete user folder using Home Group on Windows 8 Pro x64. This changed the permissions for ...
2
votes
1answer
174 views

Duplicity can only restore as root on OS X

When I try to list or restore files from my duplicity backup in S3 on my OS X machine, I run into a permissions error: Traceback (most recent call last): File "/usr/local/bin/duplicity", line ...
2
votes
1answer
208 views

Can I install some ruby gem on a standard OS X user?

I have a Admin user for serious stuff and a Standard user for daily tasks, including front-end development. On the Admin user, I can install Brew, RVM, Middleman etc. But on the Stardard user, where I ...
0
votes
2answers
29 views

SSH: “Permissions 0644 for 'my_key.pub' are too open.”

Why is 0644 i.e. -rw-r--r-- too open for a SSH key? Also I could not find any false permissions on the .ssh directory (0700) or the home directory (0731). Btw I'm getting this error when testing the ...
0
votes
1answer
17 views

Make newly created or uploaded (via ftp) files belongs to a group by default

Each time you create a file or upload it via FTP, considering your user is "myuser", it's chwon would be "myuser" for user and "myuser" for group. So you have to manually execute chown command to ...
1
vote
3answers
2k views

Utility to grant admin rights to a user in Windows XP for few hours/days?

I have two accounts on my windows xp home desktop. The default regular user is used for everything and the 2nd user which has admin rights is used only for installations. I do this to avoid malware ...
4
votes
1answer
178 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 ...
0
votes
3answers
579 views

Using vim to force edit a file when you opened without permissions

I use vim to edit a file. Sometimes, I forget to have the appropriate permissions. I run vim and the file as a read only file. I can make changes, but I can't actually write the changes. Every once in ...
0
votes
0answers
15 views

NTFS permissions not propagating to all childs

I've been having a problem with permissions , that is driving me NUTS !! While "Administrators" is added to the NTFS permission on XY share folder ["Administrators" do not figure on all subfolders], ...
1
vote
0answers
24 views

Cifs share doesn't preserve permission configuration in smb.conf (775 instead of 777)

So I have a share on ubuntu that is accessed through both ubuntu and windows machines. my relevant smb.conf is like this: path = /share create_mask = 0777 force create mode = 0777 security mask = ...
2
votes
2answers
310 views

How can I restrict access to a device using UAC in Vista?

Is it possible, in Windows Vista, to use UAC (or some other mechanism) to restrict access to a device? For example, can I restrict access to my USB Camera so that if a program tries to take pictures ...
2
votes
2answers
654 views

Linux drive permissions for disk used by two systems

I've got a large mdadm-based RAID5 array that I've been using with an Ubuntu 8.04 system. I'm setting up a new 9.10 (alpha 6) system on the same hardware. mdadm does a great job automagically ...
0
votes
1answer
46 views

Mac OSX finder requiring permissions when deleting file, even after chmod

I created a Python script that requires sudo permissions to run (doing ICMP requests). This script creates a small directory and a couple .csv files, as well as a log.txt file. At first, after running ...
1
vote
2answers
30 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
1
vote
1answer
21 views

Permanent permissions change on /proc

I have a Kopete plug-in that tries to blink my Thinkpad light when I have a new incoming message. To accomplish this it uses a /proc virtual file provided by the thinkpad-acpi kernel module, situated ...
1
vote
2answers
3k views

How do you get the directory Security tab in XP Home or XP Media Center Edition?

I work with XP Professional everywhere, and never needed the ability to change directory permissions on my home machine. Lately, I've been running into a massive headache with IIS and ASP.NET ...
33
votes
4answers
58k 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 ...
2
votes
1answer
1k views

Why can't I run executables in Windows 7?

I work with Windows 7 on this machine. But this Windows 7 is protected and I cannot run .exe files on this machine. How can I make the executables run on this computer? Note: My account doesn't ...
0
votes
3answers
5k views

Add group write permission to folder in Ubuntu

I have set up a mail server and I receive an error in the log file when trying to log in to Thunderbird. chdir mydomain.com/admin/: No such file or directory I was told that the the folder can be ...
1
vote
0answers
34 views

Dropbox folder permissions changing to 700 and causing re-sync

I've just got myself a new Macbook Pro 13" running Mavericks, my first experience of OSX 10.9 having moved up from an older mac running 10.7. After setting up my local web development environment and ...
0
votes
1answer
24 views

How to give apache ownership rights when creating a new file? [Centos 6]

So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
0
votes
2answers
3k views

User with limited rights can still install some programs under Windows XP

I have created a new user as admin. Then I changed the new user's account into a limited account. It cannot install new software, however the account was able to install Mozilla Thunderbird and a few ...
0
votes
1answer
26 views

How do I grant myself permission to make symbolic links on Windows 8.1?

I am trying to figure out how to grant myself permission to make symbolic links as a non-administrator on Windows 8.1 (NOT Windows 8.1 Pro) which lacks gpedit.msc. How do I do this?
2
votes
0answers
40 views

Allow user to traverse path to given directory

Say, I want to give a user colleague read access to a directory /rather/long/path/to/the/directory, but not necessarily to its parent directories. As explained for example here and there, I first ...
2
votes
2answers
48 views

Allow administrator rights to a program running under a limited account

I have an application I support which requires permission to read and write to the Registry and also create files on disk and CD-ROM. I would like to run the computers using a limited user so nothing ...
2
votes
1answer
1k views

Why Git keeps track of changes in execution permission?

If you have a file added to a Git repository and you change the execution permission (e.g. chmod 0755 file), Git tells that file has changed. This can be useful, but sometimes is a pain in the neck ...
1
vote
3answers
2k views

Modification of files with 777 permissions but not with 755 permissions?

I can modify the files with 777 permissions, but not with 755. I do it by sourcing some sed commands. I find it odd because I can modify the files with even 700 permissions in Vim. Why is it not ...
0
votes
1answer
360 views

change permissions for files and directories under home directory

I share a Linux server with several people. Is it better to change the permissions of files and directories under my home? I wonder if other or group users will have access to or even modify my files. ...
0
votes
0answers
15 views

Vsftpd upload file with www-data permission

how can i get correct permissions drwxrwxr-x on file that are uploaded with Ftpuser1 in /var/www? Actually if i create file with Ftpuser1 i got this : -rw-r--r-- 1 Ftpuser1 www-data 0 Jul 11 ...
0
votes
0answers
13 views

Software updates on low permission users

What I am looking for: Allowing my software to automatically update without administrator account and keeping it to the standard methods. The software setup The software is installed at: Program ...
0
votes
1answer
24 views

How can I make chown permissions be permanent to files even after running the chown command?

I am running CentOS 6. So I decided to take a more patient approach to building my server because I have had issues with it performing properly in the past. So now, I am very very close to fixing ...
0
votes
1answer
47 views

Permissions Error, cannot access both my Ex-HDDs

I'm in quite some trouble now. I'm a photographer and I store all of my important RAW files and processed photographs on my extrernal hard drives and have been doing so for quite a while. A few months ...
1
vote
2answers
1k views

How to chmod +x a file in Windows, for use in Linux?

I have a file that needs to be executable in Linux, which I'd do by using chmod +x when using Linux. My problem is: this file is compiled in Windows, and it's a pain to have to open my Ubuntu VM to ...