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

learn more… | top users | synonyms

5
votes
1answer
1k views

What causes Mac OS X Permission errors?

This is out of interest rather then looking for a fix to a problem. What actually causes permissions on Mac OS X Systems to become messed up? Its an easily fixed problem (i.e. there's a quick and ...
4
votes
4answers
17k views

Permissions for editing hosts file on Windows 7 Home Edition

I am running Windows 7 Home Edition on my laptop. I also have an instance of Apache Server running and am trying to create a virtual directory. I have updated apache's vhost-httpd file and now need ...
4
votes
2answers
5k views

How can I delete the cygwin folder on my c drive?

I have a folder called C:\cygwin. How can I delete this folder. It says I need permission from the administrator. However I am logged in as administrator.
4
votes
6answers
24k views

Is it possible to shutdown a remote computer running Windows 7 via Telnet?

I've successfully connected to my Windows 7 desktop over wifi via Telnet from an XP Home netbook. To login, I use the following command: telnet -l "win7desktop\win7user" win7desktop win7user in ...
4
votes
3answers
3k views

Change file ownership during write operation

By default the umask is 0022: usera@cmp$ touch somefile; ls -l total 0 -rw-r--r-- 1 usera usera 0 2009-09-22 22:30 somefile The directory /home/shared/ is meant for shared files and should be ...
4
votes
4answers
4k views

Can I have an “execute only” batch file under Windows XP?

Is it possible to set up a batch file on a Windows XP system that a user will be able to execute but not read (type, edit, etc.)? I tried playing with permissions, allowing "Execute File" but not ...
4
votes
6answers
7k views

Messed up my perl install on Mac OS X 10.6

I have messed up my perl install on Mac OS X 10.6. I'll explain how: I wanted to add a cpan package for Bundle::DBD::mysql, cpan told me to update Bundle::CPAN first. I couldn't because of ...
4
votes
2answers
9k views

Linux permissions and owner being preserved with cp

I can't understand the following behavior: I have a file named someFile under /opt/com/internal/someFile If I do ls -all /opt/com/internal/someFile the permissions are 700 user:userGroup I am root ...
4
votes
1answer
2k views

Backup file attributes / restore them later

Currently I am trying to imagine a way of backing up all the file attributes and permissions of a certain directory, i.e. /volatile, for later restore. The procedere I have in mind would be: backing ...
4
votes
3answers
896 views

What is user/owner 24561?

So, I just installed the node.js package from nodejs.org and I was poking around to see what it installed. Over in /usr/local/bin I saw this owner 24561. I see it in a few other places too. What is ...
4
votes
4answers
5k views

Efficiently and Safely Deleting or Un-Trashing Time Machine Backups

I have been storing my Time Machine backups on an external drive. Noticing that space was getting low, I viewed that external drive in the Finder, selected a bunch of the folders and moved them to the ...
4
votes
4answers
10k views

Ubuntu: default access mode (permissions) for users home dir (/home/user)

What is a default access mode (e.g. 0755) for users home dirs in Ubuntu (e.g. what is output of ls -ld /home/*)? In other major linux distribs (Debian, RedHat, Gentoo, Arch)? How can I change this ...
4
votes
2answers
392 views

How to give user rwx access to another user?

How can I give userA access to all files created by userB / userC, including rwx permission? Is there a way to do this without giving root access? Adding to same group won't work because not all the ...
4
votes
2answers
9k views

Reset all permissions on Windows 7?

I have an external hard drive and I did something which I shouldn't have done, and I am annoyed that many files are prompting me about Administrator permissions to move a folder. They are regular ...
4
votes
3answers
3k views

Archive Utility.app “Error identifying a writable temporary folder”

I had to restore my Mac today from a Time Machine backup. Everything went swimmingly, except for now I can't seem to unzip files using Archive Utility.app. Wherever I try to unzip files on my ...
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
6answers
10k views

What is different between root and sudo?

A root user can have all the privileges. But a normal user can gain access like a root with su or sudo command and their own password. So what's the difference?
4
votes
1answer
886 views

Consequences of a Windows user being in both the Administrators and Users group?

When I add a new user to Windows (7 or Server 2k8) and I make it a member of the Administrators group, does it matter if I keep or remove the Users membership? Most of the time I remove the Users ...
4
votes
3answers
2k views

NTFS permissions - “Inherited from”?

I have a NTFS external hard disk. It was in use primarily with one laptop, but that laptop has since been replaced. With my new laptop, I'm finding all my files are now read-only. The "read-only" ...
4
votes
1answer
159 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 ...
4
votes
1answer
857 views

Why does redirection fail when passing through ssh, sudo and sh?

After reading this question, I know that I have to do sudo sh -c 'ls -hal /root/ > /root/test.out' to avoid the "Permission denied" error. But when I do ssh hostname sudo sh -c 'ls -hal /root/ ...
4
votes
3answers
3k views

Unable to do passwordless login to FreeNAS

I'm trying to use this command to allow me passwordless login to a FreeNAS box: cat ~/.ssh/id_rsa.pub | ssh root@server.com 'cat >> ~/.ssh/authorized_keys' But I get: ...
4
votes
2answers
80 views

Is it possible to give a user admin privledges over a service? [duplicate]

Possible Duplicate: How to assign permissions to manage windows service when UAC is enabled? Our network admin set the ColdFusion 9 Application Server service to start automatically, ...
4
votes
3answers
2k views

Remote Assistance to Windows 7 Starter Permission Denied

Remote Assistance is enabled on a PC to-bo-controlled-remotely which is running Windows 7 Starter. I also allowed permanent access for it on the firewall. On the controlling Windows XP Professional ...
4
votes
1answer
1k views

Can I view the Unix permissions of a file in a .zip archive?

is there a way to view the Unix permissions for a file under Windows?
4
votes
1answer
98 views

Can a user who doesn't have permission to read a directory still read files inside it?

Is it possible for a user who doesn't have permission to read a directory, but does have permission to read the files inside it, to access those files? If so, how? Or, put another way: If I want to ...
4
votes
1answer
49 views

Why does cifs asks for su rights to write any data into it?

I'm mounting a windows share as follows: sudo mount -t cifs //192.168.178.49/public -o users,username=name,dom=domain,password=pword /mnt/nas Then I'm trying to create a simple file with some basic ...
4
votes
3answers
6k views

rsync command deletion error “IO error encountered — skipping file deletion”

I use rsync command to take backup of files from one of my ubuntu server to another ubuntu machine. Backup server trigger a script that use rysnc command. Here is the command I use rsync -rltvh ...
4
votes
4answers
9k views

Unable to delete a file or take ownership on Win7x64

I'm a developer and as part of the build process, a Microsoft dll is copied to a certain folder. That file copy is now failing as the target can't be overwritten. I decided to delete it by hand ...
4
votes
1answer
7k views

Configure permissions for /dev/ttyUSB0

I'm trying to communicate with an Arduino from Ubuntu 12.04. When plugging in the USB cable, the arduino's serial port occurs as /dev/ttyUSB0. When I try to connect to it using moserial, I'm getting ...
4
votes
3answers
4k views

NTFS Permissions - Folders and subfolders

Quick scenario on a local Windows system. Drive E: is formatted with NTFS has the following layout and permissions: E:\ (JohnDoe) E:\folder (Administrator) ...
4
votes
2answers
1k views

After re-installing Windows XP I've got a folder I don't have rights to any more. How can I regain control?

On my second hard drive there's this folder: D:\73dca78350f1e7f756d03ee8 It contains two sub folders - "amd64" and "i386". After re-installing Windows XP I can no longer access these folders. I ...
4
votes
4answers
6k views

file permissions and group ownership using sftp

Is there a way to have all files created by a particular user under sftp to have a specific group and file permissions? The user in question, of course, will be a member of the group, but it is not ...
4
votes
2answers
4k views

Making SELinux play nice with OpenVPN (in NetworkManager)

I have been trying to use OpenVPN to connect to my work network. Using it via the command line works fine: openvpn user.conf I haven't bothered to set it up with DNS properly though, and it looks ...
4
votes
2answers
15k views

How to give Apache access to files in my home directory?

I'm a Ubuntu Linux user (Lucid Lynx) who is running Apache. I have a collection of zip files in a folder in my home directory (~/zip_files) which I would like to be able to link to through apache, ...
4
votes
1answer
1k views

Mount a disk image root has no access to

I need to mount a disk image located on an NFS network share without copying it first. Only a non-root user (apache) on the RHEL 5 machine I'm on has permissions to access the files on that network ...
4
votes
2answers
887 views

What's the best way to share files on a Mac-only network without running into problems with permissions?

I have a few OSX systems on my home network and am trying easily share files between them. Each computer has file sharing enabled and I can view and add stuff to their public folders—that's all ...
4
votes
1answer
1k views

How can I use sed in /etc/apache2/sites-available?

I'm attempting to write a script that uses sed to copy the default file for apache and writes a new file, replacing /var/www ($DOC_ROOT below) with my own directory, $NEW_SITES_DIR. However, sed isn't ...
4
votes
2answers
7k views

greyed out folder in OS X

I installed the intel compiler on my Mac (10.6), and it installed fine, but the folder in which it is installed (/opt, i.e. at the root) is not visible by default, and when I use the Finder "go to" ...
4
votes
1answer
926 views

Is it possible to stop Windows from changing permissions on a Linux SMB share?

On Ubuntu I've made my user's Public folder an SMB share (using the same user as the smbuser) - I've then mapped it as a network drive on Windows XP. I can edit, from Windows, any file on the share, ...
4
votes
1answer
450 views

file permissions in Unix

I am working on Solaris Unix. I have a file with permissions: -rw-r----x+ What does the + at the end mean?
4
votes
2answers
536 views

Good utility to traverse a directory structure and show me all security permissions?

Is there a good windows utility that will traverse a path (and all subfolders therein) and list the permissions for each folder?
4
votes
1answer
2k views

Linux permissions for services

How do permissions work for services in Linux? I already know that I can set read, write and execute permissions for files and directories with chmod each for owner, group and other users but how do ...
4
votes
2answers
9k views

Setting permissions on files within subfolders in windows 7

I'm dealing with a strange issue with Windows security. I just switched laptops from one running Win 7 x64 Ultimate, to one running Win 7 x64 professional. I keep all my music on an external drive in ...
4
votes
2answers
255 views

How can I delete a folder which was temporarily created for a Windows update? [duplicate]

Possible Duplicate: Can't delete folder in Windows 7 Recently I updated Windows 7 and it seems to have left a folder on my download partition under the name of ...
4
votes
1answer
77 views

How to get full permission on client

When sharing a folder across the network with Windows 7 on the server, and Windows XP on the client, how can we give full permissions to the client?
4
votes
2answers
3k views

copied user profile, now get “cannot access device…appropriate permissions” on system files

I'm running a Windows 7 x64 desktop. I had to replace my domain controller after losing the old one without a backup, so when I created a new domain user, of course, the system sees it as a different ...
4
votes
2answers
2k views

“username” is not in the sudoer list - how do I get back in there

I use Ubuntu 9.10 I changed my password. After I restarted my machine and tried to do sudo whatever... I got "username" is not in the sudoer list. What should I do to get back in there?
4
votes
2answers
1k views

How to set the default file permissions on ALL newly created files in linux

My question is similar to this: http://stackoverflow.com/questions/228534/linux-default-file-permission but there is no scp/ftp client involved and that question looks abandoned. Simply put: I want ...
4
votes
2answers
2k views

Error starting Apache with PHP module on Windows: “Cannot load php5apache2_4.dll into server: Access is denied”

I'm having some difficulty installing Apache 2.4.7 with PHP 5.5.7 on Windows Vista Service Pack 2. When trying to start Apache, I'm getting the error: Syntax error on line 176 of C:/Program ...