<<<DISCLAIMER>>>
i do not recommend doing this unless you know for SURE that the only files in the current remote directory are the files you just put there. you don't want to arbitrarily change permissions on other files
<<<DISCLAIMER>>>
the syntax you want to use in order to chmod 755 all the files in the current remote directory is this:
if there ARE other files in the directory, then i suggest you re-write the script so that it puts one file at a time and then you can site chmod 755 one file at a time
I am working on a new UNIX box that has been delivered to us, and noticed that the /home directory has 555 permissions on it (dr-xr-xr-x). Any attempt to create write permissions fails on this directory (such as chmod 777), responding only with a message;
chmod: WARNING: can't change home
... (3 Replies)
Hello,
When I do a "ls -l" I can see my directories have
drwxr-xr-xr. I am more used to the chmod numerical syntax like 755. Is there an easy way to list out the numerical permissions rather than rwx etc. (1 Reply)
Hello all,
Trying to do the following.
1. Run Windows installer from a unix server.
2. Let user run the shortcut but not allow access to the folder where the exe itself is running.
What I have done so far:
1. Copied the application to the server and placed in a folder called "data".... (2 Replies)
I am trying to setup an FTP server in a Fedora Core 3 machine through the command line interface and not KDE.
I think I am successful in getting the ftp service running, as when I do an ftp 127.0.0.1, I am able to log in using any one the user accounts I have created on this machine and browse... (8 Replies)
I would like to chmod the file which I am pulling from remote server onto my server.
I am using the following script:
sftp <server detail>
get abc xyz
chmod 666 xyz
bye
Though I could fetch the file successfully but I am not able to change the permission of xyz file on my server.
umask... (1 Reply)
I would like to chmod the file which I am pulling from remote server onto my server.
I am using the following script:
sftp <server detail>
get abc xyz
chmod 666 xyz
bye
Though I could fetch the file successfully but I am not able to change the permission of xyz file on my server. Pls... (5 Replies)
hello,
I am trying to copy a file over to a set of aix servers and then set the file permissions, owner, group etc and all of this logged in as sudo. I was able to copy the file over using rcp - i know its not secure or not best way to copy - but unable to execute chmod on the remote server as... (0 Replies)
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)
Hi All
I am running Ubuntu linux flavour.
I need provide multiple users belonging to the same group access to a dir where they can write files but are not supposed to remove or rename files. users outside the group should be able to read and write to the dir.
i have set the permission of... (7 Replies)