11-16-2011
This is odd. NFS can enforce policies as to who's allowed to create what files with what permissions, but usually they'd want to prevent you making files as root -- not force them to be root. You shouldn't have permissions to do that unless you're root, for that matter.
What are the permissions of your home directory? ls -ld ~/
What happens when you cat /etc/hosts > ~/localfile instead?
Last edited by Corona688; 11-16-2011 at 07:13 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My Admin has written a shell script (Filepermission.ksh) with the following commands and provided me 'exeutive' privileges. However, when I try to run the script, I am getting the following error message. Can some one tell me what could be missing? Thank you for your continued support.
Script:
... (0 Replies)
Discussion started by: MeganP
0 Replies
2. UNIX for Dummies Questions & Answers
folks;
How can i give a group a sudo permission to execute only some command "like start/stop Apache", so every user in that group can sudo to use this as himself, i mean when he tries to sudo, he will be asked for a password (and make it so he must use his own NT password not a generic one) then... (6 Replies)
Discussion started by: Katkota
6 Replies
3. UNIX for Dummies Questions & Answers
Hello All,
I receive a file from another server with file permission rw-r--r-- and owner of the file is the sFTP login id and group is also different from my login id.
Due to this I cannot move the file from and also cannot do anything on it.
Can anyone help on how to change the file... (2 Replies)
Discussion started by: maddy911
2 Replies
4. Shell Programming and Scripting
We have a script which will move the files from the each user home directory to other location to process the file in the server.
The users put files in their home directory using FTP and the user home dir have 775 permission so the the application user can move the files from the home path to... (11 Replies)
Discussion started by: GIC1986
11 Replies
5. Shell Programming and Scripting
hello
I m trying to enter in a folder through my script but getting permission denied error ..
Is there any command or somthing else so that i can access these folder through my script. (3 Replies)
Discussion started by: urfrnddpk
3 Replies
6. OS X (Apple)
-rw-r--r-- 1 root wheel 1676 Jul 8 13:40 group
-rw-r--r-- 1 root wheel 3669 Feb 25 2010 passwd
-r--r----- 1 root wheel 1242 Jan 26 2010 sudoers
I can read group and passwd, but i cant read sudoers.. why?
I am curenttly a staff member. (1 Reply)
Discussion started by: linuxstuff101
1 Replies
7. HP-UX
Good day guys,
I am very new in UNIX and am trying to install an application which uses an application ID that requires administrative privileges (Full control). In most cases, we use SUDO to grant access to this ID however the customer insisted NOT to use SUDO and Root ID is not to be used to... (1 Reply)
Discussion started by: mcdsweet98
1 Replies
8. AIX
Hi Team,
I am using AIX 6.1 version. I have two log id IDs say (user1 and user2)
Both users primary group is same. ex (group1)
I have created directory called /logs/app using user1 and permissions are like below
/logs ------ drwxrwxr-x
/logs/app ----- drwxrwxrwx
But all the process... (3 Replies)
Discussion started by: balasubramani04
3 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I am running CentOS6.3 and NFS is giving me a real hard time here:
on my server a folder called /networkh has created with 777 permissions. I have setup NFS server on this server and it is supposed to serve a network.
On my client machine I configed my auto.master:
/nethome... (1 Reply)
Discussion started by: bashily
1 Replies
10. HP-UX
This is unfortunately for a Tru64 5.1 PK4 system.
I have Autofs running and it seems to read and mount the NIS maps, however, on a couple of maps, eventhough is says (rw), the user home directory of /home is (ro). See cut and paste Below. This prevents the automounting of Users home... (4 Replies)
Discussion started by: mrmurdock
4 Replies
LEARN ABOUT FREEBSD
dh_fixperms
DH_FIXPERMS(1) Debhelper DH_FIXPERMS(1)
NAME
dh_fixperms - fix permissions of files in package build directories
SYNOPSIS
dh_fixperms [debhelperoptions] [-Xitem]
DESCRIPTION
dh_fixperms is a debhelper program that is responsible for setting the permissions of files and directories in package build directories to
a sane state -- a state that complies with Debian policy.
dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ directory) be mode 644. It
also changes the permissions of all man pages to mode 644. It removes group and other write permission from all files. It removes execute
permissions from any libraries, headers, Perl modules, or desktop files that have it set. It makes all files in the standard bin and sbin
directories, usr/games/ and etc/init.d executable (since v4). Finally, it removes the setuid and setgid bits from all files in the package.
When the Rules-Requires-Root field has the (effective) value of binary-targets, dh_fixperms will also reset the ownership of all paths to
"root:root".
OPTIONS
-Xitem, --exclude item
Exclude files that contain item anywhere in their filename from having their permissions changed. You may use this option multiple
times to build up a list of things to exclude.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_FIXPERMS(1)