LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2011, 03:44 PM   #1
launeric
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
own the directory but the object in there are not own by me


$ ls -al
total 1864880
drwxrwxrwx 3 nlau gdev 11264 Nov 23 12:26 .
drwxrwxrwx 36 dev gdev 3072 Nov 3 14:51 ..
-rw-r----- 1 oracle dba 954220544 Nov 23 12:27 custdat.dmp

I own the directory but the file custdat.dmp is own by somebody else
so how I can move or copy the file?

Is there anyway??
 
Old 11-23-2011, 04:58 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
If you own the directory and have write access to it, you can delete or move the file
 
Old 11-23-2011, 04:59 PM   #3
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,387
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
There is nothing stopping you from moving the file (or deleting it for that matter), so long as you have write access to the directory you are moving from and to:
Code:
mv custdat.dmp ..
You can't copy the file, because it is not readable by you.

Incidentally, why is your directory writable by all?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
object detector (preferably infrared) that can detect an object 3 feet away schneidz Linux - Embedded & Single-board computer 5 01-21-2009 05:21 PM
Git permissions in object directory frndrfoe Linux - Software 0 05-12-2008 05:27 PM
Allthough squid has 1 object, it still asks object to http server markraem Linux - Server 0 10-08-2007 12:40 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 02:02 PM
Event driven object-to-object: C++ template class mecanism ( NOT STL or STDC++) bretzeltux Programming 2 12-23-2003 03:45 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration