Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Security Want to know if you should really apply the latest kernel patch? Want to know how to configure your firewall? Discuss any Security related topics in here!

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-Aug-2006, 05:14
ket_nn
Guest
 
Posts: n/a
Default

Hi,

I got a problem with permissions. I have a partition with data (let's call it /home/{user}/DATA), which originally had {user} permissions. However, after some moving/coping of files under root from terminal, the permissions of all this whole partition became Group: users and Owner: root for all the content.
And unexpectedly, I cannot change the permissions (e.g. ' chown -R {user} /home/{user}/DATA ') as root !!!
It gives: " chown: changing of permissions ...... : Operation is not permitted " for each file !
I tried also to change the permissions from Nautilus- or Konquerror- superuser and it again gives "Access denied" for a superuser !
So, I'm in serious trouble.
If someone knows what's going on ?


Thanks
  #2 (permalink)  
Old 31-Aug-2006, 05:48
Zombie13
Guest
 
Posts: n/a
Default

Quote:
Hi,

I got a problem with permissions. I have a partition with data (let's call it /home/{user}/DATA), which originally had {user} permissions. However, after some moving/coping of files under root from terminal, the permissions of all this whole partition became Group: users and Owner: root for all the content.
And unexpectedly, I cannot change the permissions (e.g. ' chown -R {user} /home/{user}/DATA ') as root !!!
It gives: " chown: changing of permissions ...... : Operation is not permitted " for each file !
I tried also to change the permissions from Nautilus- or Konquerror- superuser and it again gives "Access denied" for a superuser !
So, I'm in serious trouble.
If someone knows what's going on ?
Thanks
[/b]
What type of filesystem is the partition? Ext3/XFS/ReiserFS or NTFS/Fat32 (i.e. Windows or Linux)? It sounds like the filesystem is not a type that supports Linux Permissions, like a Windows filesystem. If you:
Code:
 # mount
It will tell you what type it is.

Z.
  #3 (permalink)  
Old 31-Aug-2006, 05:59
ket_nn
Guest
 
Posts: n/a
Default

fat32
  #4 (permalink)  
Old 31-Aug-2006, 06:35
Jop
Guest
 
Posts: n/a
Default

That's it, then. Well seen Zombie13!

Adding "users" to the mounting options for that partition in fstab should solve that.
Post it if you will.
  #5 (permalink)  
Old 31-Aug-2006, 06:45
ket_nn
Guest
 
Posts: n/a
Default

it's been done by default
  #6 (permalink)  
Old 31-Aug-2006, 07:06
Jop
Guest
 
Posts: n/a
Default

That I don't understand, sorry... what's been done?

[edit]
Typo...
[/edit]
  #7 (permalink)  
Old 31-Aug-2006, 07:10
Bobmeister
Guest
 
Posts: n/a
Default

Copy the contents as the user to a partition with the user's rights. This will make
the ownership the users....then you can copy them back AS THE USER to the fat32
partition..and it will have your permissions. However, keep in mind that you will NOT
be able to change the attributes of the file (UNIX permissions) when it is on the
non-supported file system.

This should work for you. Also, in your fstab, I would ad "exec" to your file
system attributes...so that executables are workable...if that is desired...

Good luck!
  #8 (permalink)  
Old 31-Aug-2006, 07:19
ket_nn
Guest
 
Posts: n/a
Default

Quote:
That I don't understand, sorry... what's been done?

[edit]
Typo...
[/edit]
[/b]

the "users" option was there from the beginning (from the very installation I guess)

users,gid=users,umask=0002,utf8=true

I'm not very familiar with the most options... but anyway
  #9 (permalink)  
Old 31-Aug-2006, 07:40
Jop
Guest
 
Posts: n/a
Default

Oh, ok, don't you have "rw" option?
  #10 (permalink)  
Old 31-Aug-2006, 07:45
ket_nn
Guest
 
Posts: n/a
Default

Quote:
Oh, ok, don't you have "rw" option?
[/b]

You do advice me to add ?
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2