Hello, I would like to know if there was any way I can change the default permissions for new files being generated within a certain directory.
Would I need to have the same permissions set at the directory level as for the files being generated in it.
Regards,
Rdgblues (1 Reply)
Hi All
I need to create a script which would change Permissions to 775
All the Files and directories will be mentioned in the Paramter files
Can anyone give a Hint how to proceed in this ??
THanks (1 Reply)
Hi,
I am really new to unix, any help is much appreciated.
I need to change permissions of all files under several subdirectories to 700 but keep directories readable (755). Why ? Because I need a FTP user to only list his files and can't read them. But to browse to subfolder, the directories... (3 Replies)
Hi,
I want to change the access permissions of the files whose extension is same.For example *.c but these are inside a directory and inside that other directory is there and it contains the .c files..for example--
So my aim is to search the files under src and change the access permissions... (3 Replies)
Hi,
I am working on setup a environment where only a specific user can upload the builds on htdocs of apache.
Now i want that a specific user can copy the builds on htdocs folder.
I created a group "deploy" and assign user1 and user2 to this group.
On Apache side i mentioned User=deploy... (3 Replies)
Hi
I have written the following script that later I want to put in cron,:
#!/bin/bash
_find="/usr/bin/find"
_paths="/moneta_polled01/mediation_gsm /moneta_polled01/mediation_mmsc"
for d in $_paths
do
$_find $d -type f -exec chmod 777 {} \;
done
but it does not seem to be... (8 Replies)
Hi All
I have the following script that is supposed to change permissions of incoming files to a directory, but it does not seem to do what I want, please can you help:
mkdir -p /tmp/tmpdir
find /moneta_polled01/sgsn/ -exec ls -l {} \; |grep -v rwxrwxrwx |awk '{print $9}' >... (4 Replies)
My git post-update has the following lines in it to make sure the permissions are set right:
find /usr/local/apache/htdocs -type d -print0 | xargs -0 chmod 755
find /usr/local/apache/htdocs -type f -print0 | xargs -0 chmod 644
chown -R apache:apache /usr/local/apache/htdocsThe only problem is... (5 Replies)
Hi!
I have a dir in a server, that receives files with the wrong permissions, so I decide to put on a cron entry that changes its permitions, but because of the time gap, not all of them get changed.
What I did was the following:
... (14 Replies)
Hello,
I have a main directory called /test123
/test123 has lot of sub-directories and files.
drwxr-x--- 21 root system 4096 Jan 25 10:20 /test123
Here, "other" does not have any access to /test123 folder.
How can we provide read-only access to others on /test123... (1 Reply)
Discussion started by: aaron8667
1 Replies
LEARN ABOUT OPENSOLARIS
uucheck
uucheck(1M) System Administration Commands uucheck(1M)NAME
uucheck - check the uucp directories and permissions file
SYNOPSIS
/usr/lib/uucp/uucheck [-v] [-x debug-level]
DESCRIPTION
uucheck checks for the presence of the uucp system required files and directories. uucheck also does error checking of the Permissions file
(/etc/uucp/Permissions).
uucheck is executed during package installation. uucheck can only be used by the super-user or uucp.
OPTIONS
The following options are supported:
-v Give a detailed (verbose) explanation of how the uucp programs will interpret the Permissions file.
-x debug-level Produce debugging output on the standard output. debug-level is a number from 0 to 9. Higher numbers give more detailed
debugging information.
FILES
/etc/uucp/Devices
/etc/uucp/Limits
/etc/uucp/Permissions
/etc/uucp/Systems
/var/spool/locks/*
/var/spool/uucp/*
/var/spool/uucppublic/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbnuu |
+-----------------------------+-----------------------------+
SEE ALSO uucp(1C), uustat(1C), uux(1C), uucico(1M), uusched(1M), attributes(5)BUGS
The program does not check file/directory modes or some errors in the Permissions file such as duplicate login or machine name.
SunOS 5.11 18 May 1993 uucheck(1M)