As you haven't mentioned too many details about windows server which you have but trying to give you a suggestion on same, if you are having cygwin system. The option to ignore NTFS permissions has changed in Cygwin version 1.7. This might be what's causing the problem.
Try adding the 'noacl' flag to your Cygwin mounts in C:\cygwin\etc\fstab, for example: none /cygdrive cygdrive user,noacl,posix=0 0 0
To run from target server:
Also if you see man page for rsync then you will find out the -p option is to preserve permissions as follows.
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)
What I have"
Solaris 10 U4, recently patched.
ZFS filesystems on the global zone
Local Zones on the zfs filesystems.
If I make a new ZFS filesystem, and present it to a local zone, i.e. /u01.
If I change the ownership of /u01 in the Local zone to oracle:dba /u01.
The file becomes... (1 Reply)
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)
I want to copy a file from another user to my owner directory, and want to change the ownership to my account.
in jung's directory:
-rwxr-xr-x 1 jung smart 23 Dec 1 2005 .runme
cp /home/jung/runme .
under my directory:
-rwxr-xr-x 1 jung smart 23 Dec 1... (1 Reply)
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)
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)
i am able to change the mode using chmod and able to change permission.
but i am not able to change group and ownership. getting as invalid
can any one help me regarding this . (4 Replies)
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)