It seems the admins have done that for me. I didn't realize that when I posted.
What remains is the problem of making everything in the directory group-writable automatically. I seem to remember that that's what I kept on forgetting when editing group web pages in the past (I just haven't done it in a while).
Is there a way to set the umask for a particular directory or something? Maybe along the lines of:
But how do I get that excecuted every time I log on to work on group web pages, but not when I log on to work on my personal web page? .bashrc won't work... It would have to be read after I cd to the directory :-/
Hello,
Another newbie here and here is my dilemma. I created an account for me on Solaris 8 and I added myself to the root group. But when I login using that account I am unable to do superuser tasks.. (add users, admintool, etc). What am I missing? Thanks in advance..
Andre (5 Replies)
Hi,
there is one strange situation with directory permissions that I run into every now and then, and now I face it a gain with a webserver.
Situation (example):
drwxrwsr-x 14 user www-data 4096 Jul 28 11:06 .
drwxr-xr-x 2 www-data www-data 4096 Jul 28 11:06 subdir
-rwxr-xr-x 1... (3 Replies)
Hi,
I'm in the process of writing a system (in Java) where a user can register to become a member of a website.
When they register, a collection of directories and files get created by the application.
For example if a user with the name 'fred' registered they would get the following
drwxr-xr-x... (0 Replies)
I was doing a little playing around with permissions on a 5.3 box in the office and wanted to make it so that it does not take root permission to delete a users home directory once they are deactivated or deleted in smit.
the default permissions are 755 with bin as both user and group
I noticed... (2 Replies)
Hi,
I've created a user named fwadmin, group named fwadmin and made the user belong to that group. I created the user and group using the 'User Manager' in Centos.
The user belongs to /etc/fw.Does this also mean that the group fwadmin belongs to /etc/fw. That is what I want.
But when I... (4 Replies)
I am a member of a few different user groups.
I would like to see what the difference is....
Can anyone tell me how to look at permissions side by side ?
We are using :
SunOS xxxxxx 5.10 Generic_127111-09 sun4u sparc SUNW,Sun-Fire-V440
Thanks ! (10 Replies)
Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.
Advance thanks for your response. (1 Reply)
I have a user who has had an id change. His old id was xl00 his new id b000999. Both id's are in group bauser. The user now cannot access his old files even though he is in the same group and permissions seem to be ok. See below, first 2 files he can't see, second two are no problem.
... (2 Replies)
Discussion started by: dw82199
2 Replies
LEARN ABOUT HPUX
umask
umask(2) System Calls Manual umask(2)NAME
umask - set and get file creation mask
SYNOPSIS DESCRIPTION
sets the process's file mode creation mask to cmask and returns the previous value of the mask. Only the file access permission bits of
the masks are used.
The bits set in cmask specify which permission bits to turn off in the mode of the created file, and should be specified using the symbolic
values defined in stat(5).
EXAMPLES
The following creates a file named in the current directory with permissions so that the file can be written only by its owner, and can be
read or executed only by the owner or processes with group permission, even though group write permission and all permissions for others
are passed in to
RETURN VALUE
The previous value of the file mode creation mask is returned.
SEE ALSO mkdir(1), sh(1), mknod(1M), chmod(2), creat(2), mknod(2), open(2).
STANDARDS CONFORMANCE umask(2)