Files not deleted in source server


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Files not deleted in source server
# 1  
Old 01-20-2015
Files not deleted in source server

I have connected to the source server by ftp command. when I tried to delete the file I am getting the permission error.

Code:
delete file1.txt
450 No permission to delete /today1/file1.txt

the files have below permission

Code:
150 File status okay; about to open data connection.
drwx------   0              0 Jan 20 07:11 today1


Last edited by Don Cragun; 01-20-2015 at 06:01 AM.. Reason: Change Bold tags to CODE tags for diagnostic output and remove FONT tags.
# 2  
Old 01-20-2015
Unless you're running as root, you don't have permission to do anything with any files in the directory today1.
# 3  
Old 01-27-2015
hi don,
whether the user should give permission in directory?
# 4  
Old 01-27-2015
Your question is not quite clear.
That directory is owned by UID 0 (i.e. root), and permits only its owner to do anything to it.
Either you ftp as the root user, or you have the permissions, or the owner, modified.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Deleted known_hosts file on private server, how do I get it back?

In my ignorance I deleted the known_hosts file on private server. I am not sure what the file type is supposed to be. In general, I have been having problems with ssh and passwords. For some reason, despite having generated a private/public key pair and successfully saving the .pub file onto the... (2 Replies)
Discussion started by: Circuits
2 Replies

2. Linux

Recover deleted files on Linux server

Hi Guys, Greetings!. I have executed the cronjob that runs the shell script which is in directory.When the cronjob was executed , I found that the directory where the script resides has got deleted. Note: The directory was deleted with other use not root user. The... (9 Replies)
Discussion started by: reminisce
9 Replies

3. UNIX for Dummies Questions & Answers

Deleted /etc/passwd file while accessing to our test server via putty

Hi I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file..... It is allowing me to login..... So could anyone please help me out in this issue.... Please, it is urgent (6 Replies)
Discussion started by: rahul547
6 Replies

4. Red Hat

Recover deleted files from linux server machine..

Hi, I am working Linux server machine. Somebody by mistake(or may be knowingly) deleted few folders and files from the machine. How is this possible to recover those files and folders????:confused: I normally logged in through Putty and winscp only. And don't have any history for putty... (8 Replies)
Discussion started by: pamu
8 Replies

5. AIX

Who deleted my files

Just looking for some guidance on how to figure out who might have deleted some files off one of my systems. These files are not root owned files so could be deleted by a handful of folks in the group responsible for these files besides the root users. Anyway I have been tasked with trying to... (1 Reply)
Discussion started by: juredd1
1 Replies

6. Linux

Need help with deleted files

Hello. I am having a problem and I was wondering if I could get some help from here. I changed into a directory with the cd command and I wanted to delete a folder and all of its subdirectories, so I went ahead and did a rm --recursive * in my current directory to realize that I was in the wrong... (3 Replies)
Discussion started by: jonnydadesigner
3 Replies

7. UNIX for Advanced & Expert Users

deleted all files - rm *

Hi All, I am using Fedora Core and Windows Xp. I deleted all the files from root directory. When i am trying to restart the computer it showing some grub > prompt. What i will do ? I have lots of data in XP OS. Please help me i used # rm * (8 Replies)
Discussion started by: pritish.sas
8 Replies

8. Shell Programming and Scripting

Shell script to transfer the files from source to target server.

I need to write a shell script to transfer the files every hour from source - target server. The cron job should be running every hour and shouldn't copy already copied files to the remote server ? I was able to write intial script but not able to get the logic for (in the next run it should... (12 Replies)
Discussion started by: radhirk
12 Replies

9. Windows & DOS: Issues & Discussions

Microsoft Team Foundation Server (TFS) for Unix source files

Hi, I am using Microsoft Team Foundation server as Configuration management tool for the .NET projects in our team. I would like to add my Unix source files to TFS. Please let me know how can i use TFS for version control of my Unix source files? Thanks for your help (0 Replies)
Discussion started by: rameshmelam
0 Replies
Login or Register to Ask a Question