10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have 2 Linux servers and 1 windows server. One Linux server has an NSF share which points to the windows server. The other Linux server rsyncs any data to the other Linux server containing the windows share. My issue is that everytime the Linux administrator rsync data to the linux server... (12 Replies)
Discussion started by: Lace0047
12 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a script which transfers files/directories from one HP unix to another HP unix server using SCP but i need to retain ownership of files/folders same as source server my script is as follows
cd /sasdata/TR_CNTO328/C0328T07/Dry_Run_1/Macros
find . -type d -newer . -exec scp -pr {}... (6 Replies)
Discussion started by: tushar_spatil
6 Replies
3. Shell Programming and Scripting
Hi,
When I do the ls-ld command for example like this:
# ls -ld /Applications
I get an output like this:
drwxrwxr-x+ 114 root admin 3876 18 Aug 14:04 /Applications
I need to somehow use sed to put the ownership into a format like this:
root:admin
So basically remove... (2 Replies)
Discussion started by: pcwiz
2 Replies
4. UNIX for Dummies Questions & Answers
Hi there, Complete Newbie here so any help would be so appreciated! :) I've set up a test directory and am trying to figure out out how to ensure that all new files will remain owned by the directory owner... not the creator of the file?? (3 Replies)
Discussion started by: CasperQuiet
3 Replies
5. UNIX for Dummies Questions & Answers
how would i change ownership of file1 so the user NATE gets ownership of the file? (1 Reply)
Discussion started by: trob
1 Replies
6. Shell Programming and Scripting
Hello all,
I have a script that runs on both the test and production box. The script is owned by a user (abcd for example) with permission set to 700. When this script is run as a root, the log file generated has owner and group as abcdowner and abcdgroup respectively.
Now, when I run the same... (4 Replies)
Discussion started by: solaix14
4 Replies
7. UNIX for Dummies Questions & Answers
I'm looking for a way to create preprocessed .gz files of static pages to serve up to those browsers that can accept them.
I know I can use:
gzip -c --best index.html > index.html.gz
to create the .gz file _and_ keep the original.
What's the proper command line way to run that on each... (2 Replies)
Discussion started by: dheian
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I need a command that to copy files from others and to keep files' ownership.
Example: I copy file.txt from users "abc" to my local, and file.txt is own by user "abc" in local.
Thanks in advance! (3 Replies)
Discussion started by: need_help
3 Replies
9. Shell Programming and Scripting
hi friends,i have a doubt,if there is a file for which i have only read access then is there any way to execute it,plz reply soon (5 Replies)
Discussion started by: amit007
5 Replies
10. UNIX for Dummies Questions & Answers
Hi,
While changing ownerships from the root on a server i'm managing, i typed chown -R username:users * and it changed all ownership to username. Can someone tell me if there is someway I can set things back the way they were before? I can't even su username from the root. Am I going to just... (4 Replies)
Discussion started by: szhu
4 Replies