LinuxQuestions.org
Visit Jeremy's Blog.
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 04-04-2013, 05:11 PM   #1
bmartisius
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Unhappy Why can't I change ownership of files/directories in Debian Linux?


When I try to execute chown on files/directories, I am treated to the error message 'Operation not permitted'. This occurs regardless of whether I am logged on as root. I am attempting to do this on a drive that is used as a Samba share, if that makes any difference.
 
Old 04-04-2013, 05:38 PM   #2
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 30
Hmm, how do you mount the drive? Also, the drive is on your computer or on another? And, what distro/OS you use in the box that has the drive?
 
Old 04-05-2013, 03:34 AM   #3
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
I think remount your drive with Read/Write permissions........
 
Old 04-05-2013, 08:55 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Actually, it depends on the server of the filesystem. Root may be denied access by the server.
 
  


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
How do I move files using mv and change ownership at the same time? NuxIT Linux - Desktop 2 03-18-2013 01:47 AM
Automatically change permissions/ownership of files in a directory Shimdidly Linux - Newbie 3 04-08-2012 09:22 PM
Default ownership of files and directories linuxdevil Linux - Security 4 06-02-2011 07:25 AM
Can't change ownership of files on windows partition alan_the_eagle Linux - Newbie 4 03-27-2005 04:35 AM
sudo: How can i change the ownership of particular files? anoopp Linux - Security 1 03-18-2005 03:03 AM


All times are GMT -5. The time now is 07:49 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