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.
0
votes
3answers
3k views
Restoring default file permissions?
I know they say that given root access, someone will eventually type before they think and fubar their machine, and I just did.
I did a recursive chmod changing everything to 775 thinking I was in a ...
1
vote
1answer
238 views
Safely execute custom script parts as sudo
In /usr/local/bin I've the following script called sdown
/usr/local/bin$ cat sdown
#!/bin/bash
if [ $# -lt 1 ];
then
echo "no time set"
else
sudo shutdown -h $1
fi
Permssions are 788: ...
5
votes
1answer
173 views
How to not move permissions on fileserver file move
I have a problem with a NetApp file server with Windows XP clients.
The files are on a single SAN drive. The users regularly move files from \\storage\share to their personal folder at e.g. ...
0
votes
1answer
161 views
Automatically change UID of file
Due to development policies, all my relevant server files have g+w policies. This is working great, but, for added accountability, I'd like the files to change owner UID upon being edited by other ...
0
votes
1answer
196 views
Windows 7 administrator can't see some files? Or sees different files?
As a normal user, I'd edited some files that ordinarily ordinary users wouldn't be editing (specifically, Intellij IDEA .vmoptions files, in C:\Program Files (x86)\JetBrains\Intellij IDEA 10.5.2\bin), ...
2
votes
1answer
395 views
IIS 401.3 - Unauthorized on only 1 server out of 3 set up for network load balancing
Over the weekend our Server Admin set up two virtual Windows 2008 machines with IIS installed and set them up under NLB. I came in and changed the application pool the website was running under to ...
2
votes
2answers
393 views
Getting ACL's from a Windows 2003 server
I would like to have a tool that shows ACL's for all folders on a share on a server(Win2k3). I have tried using srvcheck but would like something that goes into sub folders and shows security settings ...
0
votes
0answers
51 views
users with same group permissions problems on ftp uploads
i have two user with the same group:
admin:admin and socialmedia:admin
when i upload files with a ftp client, it says that files are uploaded in this way:
admin uploads:
folder -> 755 admin:1003 /
...
2
votes
1answer
94 views
setgid file deletion rights
I have been learning Linux from few days, and now I am at File Parmissions with sticky bits,
I tried the following:
[root@localhost sdcdir]# ll
total 24
drwx------. 2 root root 16384 Mar 21 21:38 ...
0
votes
2answers
173 views
OS X Snow Leopard, change file permissions on copy
I work with OS X, Snow Leopard and need to allow users to make copies of files (templates) located in a read-only repository for subsequent editing.
The repository is located on a separate physical ...
0
votes
1answer
258 views
Disable suhosin file permission check
I have just recently found out that suhosin makes sure not to execute php files with file permissions more open than 755.
However, I need to temporarily allow someone else FTP access to some files, so ...
0
votes
1answer
64 views
Ubutnu Server Web exposed folder recommended permissions [duplicate]
Possible Duplicate:
What’s the best way of handling permissions for apache2’s user www-data in /var/www?
I am setting up my first server from scratch and as i am completely novice at this i ...
0
votes
3answers
93 views
really simple: file permissions
I really don't understand.
I have on my localhost web projects on the path /var/php/project_name
I have changed ownership of that files to my user name via chown. Now, assume I have private ...
2
votes
2answers
223 views
Cronjob not running as apache
I have a cron job that runs a PHP script and creates files (images). But the cron job is running as me (being me my own username), not apache, nobody, httpd, www... and all the files created belongs ...
0
votes
2answers
2k views
How to set shared files permission across a network?
I am trying to set permissions to a shared folder. Let's say the shared folder is in computer A. I want computer B and C can only read the folder but computer D can delete the folder. I don't have a ...
0
votes
2answers
166 views
What permissions should I give these files?
I have some files that nobody needs read access to and apache needs read and write access to.
Should I do
chown nobody.apache file
chmod 460 file
or
chown apache.nobody file
chmod 640 file
or ...
2
votes
3answers
1k views
Re-give users ownership of their mapped home folders via powershell
I changed the user quota on a windows 2008 machine and after that some users reported that they were able to read but not write to their mapped home folders. If I re-enter the Home Folder path in the ...
0
votes
1answer
105 views
IIS7 - What permission to grant to which account, and where?
I need my ASP page (intranet) to read files from another local Windows server.
I know that IIS7 has different system user accounts which it uses depending on the security context etc. but to be honest ...
1
vote
0answers
525 views
What does the red x icon mean next to a user in folder permissions (Windows 7)
In trying to debug various strange issues on a machine, I found something strange - when I go to C:\Users\administrator and get properties, security tab, it lists the users (the local admin account, ...
3
votes
2answers
729 views
Octal representation of file/folder permissions using awk?
We have various of machines here with all sorts of hardware and Operating Systems, most of them do regular tasks with bash that an agent executes.
However it came to my attention that some Solaris ...
2
votes
1answer
216 views
Samba/Cifs: Transferring executable permission bits to linux client
I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server.
Here is our setup:
Linux server exporting some directories via ...
2
votes
2answers
443 views
Permissions somehow block access to files in CentOS 6
A friend of mine hosts some of the websites he has built for his clients. Somehow he messed up the permissions giving all clients' websites a 403 error upon loading.
When I ssh to his server and log ...
0
votes
1answer
300 views
NTFS permissions for a user on another computer in case of a disk moving in a cluster?
Is there a way to set NTFS permissions for a user on another computer?
I have two nodes in a failover cluster. Both have a specific user account ("charley") local to the node. Charley has files on a ...
1
vote
1answer
237 views
AccessEnum recursion depth
I'm putting together a quarterly audit script and I'm trying to provide information to data owners about the groups they administer. The most difficult aspect of this operation is determining to ...
2
votes
1answer
452 views
Set primary group of file or directory on Samba share from Windows
Short version:
I have such situation on a Samba share:
$ ls -lha
total 12K
drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 .
drwxrwxrwt 19 root root 4.0K Jan 11 17:06 ..
drwxr-xr-x 2 hka ...
0
votes
1answer
2k views
Dovecot 2 /auth-userdb permissions
Error in log file:
userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied
(euid=5000(vmail) egid=5000(vmail) missing +r perm: /var/run/dovecot/auth-userdb,
euid is not ...
2
votes
5answers
11k views
How to restrict users moving folders?
We have the following layout
•Shared Folder "Clients"
•Level 1 ("Client A"/"ClientB"/"Client C"/etc)
•Level 2 ("Folder 1"/"Folder 2"/"Folder 3"/"Folder4")
•Level 3 ...
4
votes
3answers
4k views
Can Samba support full Windows-ACLs?
I've set up a Samba 3 host with AD integration and an ACL enabled filesystem. Using a windows client I can set users and groups permissions.
Up to now, Samba just maps to POSIX ACL's rwx permissions, ...
1
vote
1answer
611 views
Users cannot run executables on network shares on XP
User A is in group 1.
Group 1 has Full Control over a network shared folder that contains an executable (Office installation).
User A gets the error: "... The specified path does not exist. Check the ...
1
vote
2answers
183 views
Permission denied for many directories with Rsync
I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
3
votes
1answer
136 views
Test file for specific permissions
I have a script where I'd like to test a file for specific permissions, specifically 0644, if it is not that then chmod it.
I know I could just chmod it and let it fall through in case it already was ...
0
votes
2answers
224 views
File permissions changing on save ( using root )
Using a fresh installation of CENTOS 6.2, when I connect to the server ( SFTP mount with nautilus ) and edit files, no matter what permission the file had before, it is reset to 700, ...
0
votes
1answer
77 views
Permissions of httpd apache2 and running certain php commands
I ran some recursive linux command that changed the permissions to all my website files..
all files are now like
-rwxrwxrwx
and all dictionaries are.
drwxrwxrwx
I don't know if that has anything to ...
8
votes
3answers
516 views
My server Admin wants me to set public write permissions on a directory
I'm relatively new to web development, so please be patient.
I'm primarily an iPhone developer, but have recently done a site for someone else using shared hosting. I could write to files in PHP on ...
5
votes
1answer
90 views
Who is the “author” of a file (Gnu “ls” manual)
In the manual for Gnu "ls," I see this:
--author
with -l, print the author of each file
Does anybody know what the “author” of a file means in this context?
This is (maybe?) not the ...
0
votes
1answer
917 views
Permission error with git on linux with bare shared repo
I've got a bare central repo that has this option turned on:
git config core.sharedRepository true
For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
1
vote
3answers
857 views
Linux WebServer, folder by permission 755 not writeable
I run a new Linux web server ( Debian , Plesk ) I want to install some php application that need writeable folders, If I set the folder permission to 755 still web application can't write on folder, ...
0
votes
1answer
512 views
Don't have access to view objects permissions
Last week I provisioned a new Windows 2008 R2 box from my hosting company and copied my databases files to the file system. It became necessary to reimage the OS on the box so they left the database ...
0
votes
1answer
126 views
Linux (ubuntu) as NAS permission help needed
Ok, i have a user "nas" on my ubuntu server. In his home directory i have a "shared" folder but I also want to let a user create their own folder at this level for personal use. so any user that logs ...
0
votes
1answer
585 views
Truecrypt & apache, how to manage the file permission?
I'm on Ubuntu.
I use a truecrypt container to store all my working files.
My apache server run with the user www-data ( the default setting ).
When I mount the container using truecrypt, all my file ...
0
votes
1answer
26 views
Website and file/directory permissions
I've been given a task to fix this one website. One of its issues is that on one page, the images have broken links - the images are not showing, and clicking on the image (i.e. direct link to the ...
0
votes
3answers
1k views
Apache and PHP write permission?
I have a php script that writes to a file.
But when I try to actually write to the file I get permission denied.
How can I tell what user name I need to add to the file permission in order for the php ...
1
vote
1answer
106 views
Limit AD group access to share files but not folders
I have an AD security group of accounts that I need to have access to some folders. They need to be able to traverse these folders into sub-folders, where they will be writing files. But these ...
0
votes
2answers
265 views
PHP Files and Folders permissions under IIS
I have the company's wordpress site under IIS 7.5 (Windows 2008R2 SP1) but I still have file access problems:
Under .NET Websites it's usual the IIS_IUSRS the user used by IIS to perform tasks on ...
0
votes
1answer
73 views
Migrating to new Linux RHEL host/server — error 150 when moving folders
I've just began migration of my website to a new host. The server is Linux RHEL and I have SSH access as well as Plesk for control panel admin.
I've uploaded my files via FTP using Panic's Coda. The ...
1
vote
3answers
5k views
FTP and Apache permission issues
Im having issues as to which user should own my www directory - ftp or apache?
When set to the ftp user, the user can add, remoe and easily modify files but php file system actions generate permission ...
1
vote
1answer
179 views
What must the file permissions be for x-sendfile to work with apache
I have a Ruby-on-Rails application that I am hosting with Apache and Phusion-Passenger (on Ubuntu Server). In this app I have a controller method that basically protects access to some files based on ...
0
votes
2answers
122 views
How to avoid changes in file-permission of any file by transfering to other place?
See I have made one executable file in my fedora -14 linux machine & set its permission is like
-rwxrwxr-x 1 jeegar jeegar 4809 Oct 18 12:40 a.out
But when I transfer this file by ...
1
vote
4answers
116 views
chgrp recursively based on owner
I accidentally the whole thing
drwxr-xr-x 4 imaan rayhawkpasscom 4096 May 9 14:59 imaan
drwxr-xr-x 4 kimessite rayhawkpasscom 4096 Mar 15 2011 kimessite
drwxr-xr-x 4 ...
0
votes
3answers
4k views
Can I see Folder Permissions on Windows in a Tree View?
Is there a way to see folder/file permissions in a collapsable tree view in Windows?
What I think I need is something like:
+ folder1 - EntAdmins[RWX],JoeBloggs[R--],Administrators[RWX]]
+ folder2 - ...