I have the following command. This is meant to download all files from my server to the Downloads folder of my startup drive:
This has always worked in the past, but now, I find that it's changing permissions for most of the directories so that a user called "_unknown" has rw, and Everyone has No access, and there are no other users. I even checked the permissions of one directory, which is all my mail boxes, and it has some weird "+" sign I've never seen before and can't be changed through the Finder, and I have no idea what chmod command would either create or eliminate it:
As well, even when I do manually chmod the directories I am able to, the very next rsync changes them all back!
So what am I missing here?
Last edited by Yogesh Sawant; 12-10-2010 at 05:36 AM..
Reason: added code tags
Use the following to Change permission of fileB (fileB could be fileB*) to change its permission same as the permission of fileA.
chmod `ls -l fileA | awk '{pr
int "u+", substr($1,2,1), substr($1,3,1), substr($1,4,1), ",g+", substr($1,5,1),
substr($1,6,1), substr($1,7,1), ",o+",... (0 Replies)
Is it possible to change the permissons
for an entire directory in one shot?
I'm telneting on to a linux server.
...just a beginner--
--Paul (4 Replies)
So I need to change the permissions of my user account. I can
access the root account on the server, but don't know how to
change the permissions of my user account. I was advised to
try 'userconf' to see if I am part of a group, but I dunno how that works. ANyone who knows how to see the... (3 Replies)
I'm doing a security sweep of a Sun Sol 5.8 system. The file: /dev/console, which links to /devices/pseudo/cn@0:console, has the following perms: crw--w--w- I would like to get rid of the world write permissions. I can change the file permissions, but as soon as log back in, they are changed... (4 Replies)
does anyone know how to write a script that will change file permissions. because the Admin blocked me from altering any of my files im only allowed to read and i heard a script like this can bypass it but i dont know how to write it.
Display current users. Display user Ids only.
Display... (10 Replies)
HI,
I wann give permissions to a folder which contains multiple folders.....
how can i give permissions to all folder at a time
tat means if i give permissions to main folder it
the same permissions has to take on all the folders in the main folders
how can i use one command to give... (1 Reply)
I've got a new MythTV box at home and figured it would be a great opportunity to use it to do daily mirrors of my mysqlbackup directory (let's say /mysqlbackup/backups) and my website at /usr/local/apache/htdocs and below.
I figured it would be a best practice NOT to use a root login but to... (0 Replies)
Hi, Im getting this annoying problem on file permission when I copy a folder to a mounted external directory. the files inside the copied folders become all executable. I tried to search for ways how to undo the permission over the web but to no avail.
tried this one but it doesnt change a... (2 Replies)