Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-23-2011, 02:44 PM   #1
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, 03:58 PM   #2
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, 03:59 PM   #3
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
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:
mv custdat.dmp ..
You can't copy the file, because it is not readable by you.

Incidentally, why is your directory writable by all?


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 04:21 PM
Git permissions in object directory frndrfoe Linux - Software 0 05-12-2008 04:27 PM
Allthough squid has 1 object, it still asks object to http server markraem Linux - Server 0 10-08-2007 11:40 AM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
Event driven object-to-object: C++ template class mecanism ( NOT STL or STDC++) bretzeltux Programming 2 12-23-2003 02:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:43 PM.

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