Go Back   Computer Forums > General Computing > Cyber Safety and Computer Security
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-23-2013, 02:53 PM   #1
Baseband Member
 
zeezeiler99's Avatar
 
Join Date: Aug 2013
Location: netherlands
Posts: 91
Default root user

hey fellows,

first of all: merry christmas
but i got a problem on the external hard disk, i wanna delete some files that i don't need anymore but when i want to delete them a window pops up and tells me that i can't do that without the permission of unix root/user. i'm the admin in the network.
i hope that you guys have answers for me

greetings

Joost
__________________

zeezeiler99 is offline   Reply With Quote
Old 12-23-2013, 08:50 PM   #2
In Runtime
 
particleman's Avatar
 
Join Date: Sep 2012
Location: usa
Posts: 183
Default Re: root user

Are you root when trying to remove the files?
__________________

particleman is offline   Reply With Quote
Old 12-24-2013, 07:58 AM   #3
In Runtime
 
Mossiac's Avatar
 
Join Date: Jan 2013
Location: UK
Posts: 357
Default Re: root user

I know in Windows if you lock a file you have to unlock it to delete it. Would this be the same in Unix?

Mossiac

Sent from my GT-I9100 using Computer Forums mobile app
__________________
OS: Windows 7 64-bit Case: Commander MS-I
Mother Board: GA-880GM-UD2H CPU: AMD PhenomII X4 965 3.4GHz(Stock) RAM: 16GB GPU: GeForce GTX 550 Ti
Mossiac is offline   Reply With Quote
Old 12-24-2013, 01:35 PM   #4
In Runtime
 
Join Date: Feb 2013
Location: UK
Posts: 156
Default Re: root user

Quote:
Originally Posted by zeezeiler99 View Post
hey fellows,

first of all: merry christmas
but i got a problem on the external hard disk, i wanna delete some files that i don't need anymore but when i want to delete them a window pops up and tells me that i can't do that without the permission of unix root/user. i'm the admin in the network.
i hope that you guys have answers for me

greetings

Joost
Are you talking about a samba mounted network drive, or just an external USB drive?

If you're talking about the former, I've had exactly the same issue - file permissions can be 777, directory permissions also 777 and unable to issue 'rm -f' as root on the mounted drive. The only issue is, that I can't remember what I did to resolve this! I imagine it had something to do with samba configuration and mounting the drive r/w.

If you're talking about the latter (external usb hard drive) then it could be the 'sticky bit' set in the parent directory, which (depending on parent directory ownership - i.e. non-root) could prevent root (or your own privileged admin user) from being able to delete the file.

Apologies for not being very helpful here, hopefully something in my ramblings will spark an idea and help you solve your issue - good luck!
_michaelm is offline   Reply With Quote
Old 12-25-2013, 05:21 PM   #5
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: root user

Remember when you connect as root that doesn't necessarily mean that the samba daemon necessarily has access to the files.

Can you be clear are you using windows or Linux?
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off



All times are GMT -5. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0