10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
i need my script1.sh to generate /tmp/temp.txt with full permissions i.e
-rwxrwxrwx 1 user1 users 23 Dec 16 10:52 /tmp/temp.txtmore script1.sh
umask 666
echo "hello">/tmp/temp.txt
But the script1.sh generates temp.txt with different permissions as shown below.
-rwxr-xr-x 1 user1 users... (6 Replies)
Discussion started by: mohtashims
6 Replies
2. Shell Programming and Scripting
need a shell script for the following requirement
how to generate 5 versions of a file in a folder
after generating them in a folder i want to maintian the past 2 versions of the file in the folder and i have to delete the the remaining.
for example if i ran the script today and tommorow... (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies
3. UNIX for Dummies Questions & Answers
How is the level of access on a particular folder determined? I have heard (its just hearsay so am not particularly sure of it) that the access a particular user/group has to a low level directory is also affected by the level of access granted to the user/group on its parent directories. e.g.
... (1 Reply)
Discussion started by: jawsnnn
1 Replies
4. Ubuntu
Hi Team,
I want to set permissions to one folder in such a way that the user can write files or create folder inside that but should not able to delete it.
Basically reason behind this is i am using Pidgin Messenger. There is a directory of logs in which, when user chat its store his logs.... (2 Replies)
Discussion started by: paragnehete
2 Replies
5. Red Hat
Hi,
Need to compare two folders / File systems permissions & time stamps including sub folders and files.
Kindly let me know if any commands available.
Regards :: VM (1 Reply)
Discussion started by: novaothers
1 Replies
6. Shell Programming and Scripting
I am using the below command to delete files from directories and subdirectories
find /test/abc/xyx -type f -mtime +7 -exec rm -f {} \;
there are some subfolders in xyx for which i don't have permission to delete.
Is there a way i can check the permission of the folder first and then delete... (4 Replies)
Discussion started by: ch33ry
4 Replies
7. UNIX for Dummies Questions & Answers
what should be the permissions of the folder var/www in my ubuntu ?
I need it to be safe and at the same time I need ftp users to be able to edit it.
I was wondering if I should create a group with all permissions and add ftp users to this group in unix.
what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies
8. Shell Programming and Scripting
Hi,
I wanted to know how to create a folder using mkdir and then have it copy the permissions from another specified folder on the system.
For example if I did this:
mkdir /Volumes/USBSTICK/System
How can I make it copy the permissions from the /System folder ?
Thanks (4 Replies)
Discussion started by: pcwiz
4 Replies
9. Windows & DOS: Issues & Discussions
I work for a big company and all the people within my unit share a common drive to save documents to. I am listed in the group(AMS group) that has access rights to folders within this drive. but i'm trying to restrict access to a confidential folder so that only I can access it.
when I set the... (0 Replies)
Discussion started by: shed
0 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone.
My objective is to configure a Solaris 10 box as follows: There will be many simultaneous users connecting to it, and each of those users would automatically get a home folder.
For example, when I add user "Bob", the home folder would be /export/home/Bob
And for Mary, it's... (3 Replies)
Discussion started by: EugeneG
3 Replies