LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2013, 06:27 PM   #1
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 155

Rep: Reputation: 8
Unable to chown a file in an Xwin terminal.


This problem has me really stumped. When I try to change ownership of a file in an Xwindows terminal I get operation not permitted. It only seems to be a problem in an Xwindows terminal only succh as Terminal and Konsole. If I switch to a virtual console outside of Xwindows, I can change the ownership just fine. Anyone have any ideas what could be wrong? Linux kernel 2.6.38.8 Slackware 13.37.

Last edited by Arcosanti; 05-22-2013 at 12:52 PM.
 
Old 05-22-2013, 02:57 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,505

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
would be nice to give more details:
original rights of file and parent dir, logged in user (in Konsole and outside X) ...
 
Old 05-22-2013, 12:46 PM   #3
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 155

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by pan64 View Post
would be nice to give more details:
original rights of file and parent dir, logged in user (in Konsole and outside X) ...
I was trying to run a SlackBuild script when I ran into this problem. As for the user account, it doesn't matter. Chown isn't working with any of them including root while in an Xwindows terminal. The same goes for any directory in the file system which is ext3. But it does work just fine for any of these accounts while on a virtual console outside of Xwindows.

Root appears to be able to chown files now in an Xwindows terminal but the regular accounts are still a no go. The file owner ship is to my regular account and I want it changed to root as that is how the SlackBuilds script works.

Last edited by Arcosanti; 05-22-2013 at 12:56 PM.
 
  


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
Unable to chown niiiro Linux - Newbie 14 07-18-2012 12:40 AM
[SOLVED] Unable to chown a directory to a user on LDAP Server Mr. ameya sathe Linux - Server 6 02-12-2011 05:34 PM
[SOLVED] Can I create an Xwin Window from a Console App when Xwin is running? will_kranz Linux - Newbie 7 06-23-2010 01:38 PM
[SOLVED] Root unable to chmod, chown or operate on specific file chochem Linux - Software 2 09-06-2009 02:19 AM
chown more then one file and subfolder almost000 Linux - Newbie 3 06-15-2007 05:42 PM


All times are GMT -5. The time now is 04:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration