There are some files and directories = access denied

Could anyone supply the chmod command to reset all the permissions in my own home directory to what they should be ? I.e. so that I can open them when I am not root!

moljac024 wrote:Using sudo to grant a single user root privileges defeats the purpose of the root account. sudo is not meant to be used in that way.
Root is me anyway: it's just a fast way to tell the program: "Just friggin do it, this is an absolute order, don't make me su -c command enter password enter"
It's just a 3* letters alias for "please don't look while I write my password" su -c command enter password enter.
I, for example have sudo installed and set up and I use it for some commands that I run often, but surely not for everything!
that's insecure anyway
* I rename /usr/bin/sudo to a different name to prevent some stupid applications, like yaourt, from trying to run "sudo program" automatically without notifying me

Similar Messages

  • I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them

    I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them or get them out of my trash and they keep multiplying. And to make matters worse, I tried renaming them as pdf files thinking that might do the trick.

    oh boy ! I'd ask you if you knew what kind of files they were or where they came from, but I don't think you could help me a bunch. Try going to the Utilities folder and running Disk Utilities.  If you want to empty the Trash and it won't empty, go to the finder and choose "secure Empty trash". Worse case scenario-you may have to reinstall Snow Leopard, but I don't know what else to suggest. If you have a DVD of Snow Leopard, boot up from that,  and reinstall the OS. This will not touch the stuff you have on your Hard Drive, then you can update from 10.6 to 10.6.8, otherwise Onyx? Maybe those files are part of the OS which needs them to keep running.  if you hold down the Shift key on reboot, you can reboot in Safe mode and maybe you can take the files out of the trash that way
    good luck
    John B

  • Auditing File and Folder Access Denied Attempts

    The company I work for wants to be able to review audit logs to see where people have failed to gain access to particular folders or files on a server, that is part of a DFS. I have enabled Auditing Object Access with Failures, and I have added the Everyone
    group to Auditing on the folder, in which it audits all failures. However, when I review the Security Log to see those failed attempts to access a file, for example, I get a log of a success to the user who attempted to open the file, when in actuality, he
    failed to open the file because he did not have rights to open it.
    What am I doing wrong, or is this how Microsoft has auditing setup?

    Yes, myself and a nother technician have been unable to get this to work in a test environment or the real environment. We've created new users with nothing more than Domain User membership, and only list rights to the folder, which is how the real production
    folder is setup. We still do not get failure notices when the attempt to access a file they don't have rights to access.
    It does however, tell them on the client end that they have been denied access. It just doesn't show in the log.

  • Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    You can use some third party software to copy the music from your old iPod back to computer first, and then import the music into iTunes and re-sync them to yournew iPod. Here is a guide about how to transfer iPod music to computer. Hope it helps. Feel free to email me if you need further help.

  • Can anyone help me?Creating the shadow copies in the file server cluster ,there are some errors occured, OS version is WSS 2012

    I construct a failover cluster(file server,AP module) for sharing files by WSS 2012,and I want to use the shadow copies to backup my data,but when making  a shadow copies on the volume which  is added to the cluster(not the CSV,just add
    it to the cluster and use it to share files,it plays the role of file server),there are some errors occured, these errors result in the shadow copies failed,error likes the following pictures:
    1: the disk F is added to the cluster,first I make the shadow copies by click the right key of mouse on the disk F,and chouse the configeration shadow copies,and click the settings, then click the schedule , and I wait just a few seconds, the error is appeared,like
    this picture 1, the wait operation timed out,and then ,
    I click the schedule button once again,a different error occured,like the following picture," the object already exists",if i don't set the schedule at first ,use the default shedule,and click the enable button also the same  error must 
    accure
    but the only diffrence is that, a shadow copy time point is created, also ,you can make the shadow copies by click " create now", that is creating the shadow copies manually. Although it can succesfully make the shadow copies, but when I select
    a time point to revert, error  occured, "A volume that contains operating system files or resides on a cluster shared disk cannot be reverted" 
    In a word,all the errors above make the shadow copies by schedulling failed,except making the shadow copies manually,but what makes me confused is that I have ever maked the shadow copies succesfully by schedul a policy,I don't know what makes it succesful,
    it's small probability, most of time ,it's failed.No matter what kind of situation, revert must be failed.
    I'm sorry for my pool english , it's the first time for me getting help in forum by english ,I don't know if I descripe my question clearly, also ,other method like the link
    http://technet.microsoft.com/en-us/library/cc784118(v=ws.10).aspx I have tried,but the same errors occured.Can anyone tell me How can I make the shadow copies in File Server
    cluster(AP module)?And I make a mistake in operating? Looking forward for your reply.Thanks!

    Hi,
    Please check the following 2 places:
    HKEY_LOCAL_MACHINE\Cluster\Tasks
    C:\Windows\System32\Tasks
    First please compare permission settings of the folder C:\Windows\System32\Tasks with a working computer. Correct permission settings if anything wrong. Specifically, confirm you current account do have permission on this folder.
    As it said "object already exists", find the schedules you created before, backup and delete all these schedules in both registry key and folder.
    Then test to create a new schedule to see if issue still exists.
    Meanwhile what kind of storage device you are using? The issue could occur on specific storage device, so test to enable shadow copy on a local disk to see if that will work.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]
    Thank you for you reply.On the local volume,all of these errors will not occur, but the volume in the file server cluser.There is no value in HKEY_LOCAL_MACHINE\Cluster\Tasks. On local volume, everything goes well about the shadow copy, so I do not
    think something is wrong about the permission settings of the folder C:\Windows\System32\Tasks.Storage device  is a SAN,we use RAID6 and provide the LUNs to the NAS engine, and the make the volume on these LUNs, Is Angthing wrong? Hope for you
    reply~~

  • Hi, my iphone is disabled now and it says connect to itunes but there are some problems to fix it .

    Hi, my iphone is disabled now and it says connect to itunes but there are some problems to fix it .
    Firstly, i reset my computer few days ago and never used itunes after that .
    Secondly, the power button on the iphone is broken so i can't set the recovery mode on the phone.
    I Tried connect the itunes with the iphone but the all itunes says 'To allow access , please respond on your iphone' but there's nothing i can do,
    iphone doesn't respond at all .
    I need some help .... i tried everything i could do ..

    Hey jinyoung_20,
    Based on the information you have provided, it appears your iPhone needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, and express replacement service:
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne
    Welcome to Apple Support Communities!
    Sincerely,
    Delgadoh

  • My Time machine has stopped backing up saying there are some read only files.

    My Time machine has stopped backing up and says that ther are some read only files preventing this. What steps do I need to take to fix it?

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message. Clear the text field and scroll back in the log to that time. Post the messages timestamped from then until the end of the backup, or the end of the log if that's not clear.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.

  • I still have 5 Gb icloud storage but 2.1 gb on iphone I want to upgrade to 6.0 but need 2.6 gb on my phone can i use icloud to free up some space and still access the apps that I store there on my iphone

    i still have 5 Gb icloud storage but 2.1 gb on iphone I want to upgrade to 6.0 but need 2.6 gb on my phone can i use icloud to free up some space and still access the apps that I store there on my iphone.

    No.
    You need to delete content from your iphone.

  • Subject : Slideshow looks bad  Hello guys  I have a project in my Final Cut just about done.  I want to add my slideshow as part of the project and burn it to DVD.  In my slideshow, there are some stills from the movie clips and some downloaded from the i

    Subject : Slideshow looks bad
    Hello guys
    I have a project in my Final Cut just about done.  I want to add my slideshow as part ofthe project and burn it to DVD.  Inmy slideshow, there are some stills from the movie clips and some downloadedfrom the internet but they all look blur when playback and even worse if Iapply Ken Burn to it.   Pleasesome one can tell my how to do it right or it can’t be done because thedownload quality and stills from the clip are not suitable or slideshow.  Thank you
    PSC

    Thank you Ross.
    The entire DVD containing Quick Time movies (Final CutExpress project) and slideshow was done in iPhoto.  The Final Cut project was rendered prior to export to QT,  the slideshow was sent to iDVD withoutrendering. The slideshow with most of the pictures from my still camera incombination with stills from movie clips and some downloaded from the Internet.After burning, the movie playback is perfect but the slideshow is not.  The slideshow containing 3 differentkinds of pictures; those from my still camera looks OK; the stills from themovie clips and from the Internet are not.  I don’t have much knowledge in this game, but I think NTSCwith frame size 720x480, and the downloaded picture Item Property shows most ofthem are between 400 to 500 x 300 to 600, may be both of them are not suitablefor TV screen while the stills from my still camera looks OK because they are2048x1536.  Please enlightenme.  Once again, thank you so much,I really appreciate the time you offered.
    psc

  • I recently have ipad but before i sell it i made a back up of it and by an iphone when i put all the date on my iphone some files and software did not install is there anything i can do to recover the lost data? please help

    i recently have ipad but before i sell it i made a back up of it and by an iphone when i put all the date on my iphone some files and software did not install is there anything i can do to recover the lost data? please help

    I don't think you're on iOS 5, I think you're using iOS 6.  That's the latest version.
    Unless you've used iCloud to back up your documents, you won't be able to restore them.  And for future reference, you don't have to uninstall Pages to update your iPad anymore.  Sorry about this.

  • For the new iPhone 5s - is there not an option anymore to edit imessages without deleting the whole stream?  There are some things I need to keep within a stream and some not necessary, and it looks as like no editing within a conversation?

    For the new iPhone 5s - is there not an option anymore to edit imessages without deleting the whole stream?  There are some things I need to keep within a stream and some not necessary, and it looks as like no editing within a conversation?

    Now I also know about pulling the message to the left to see the time stamp.  Good to know, although I preferred it being right where I could see it without having to do a swipe or keystroke. 

  • I cannot open RAW files in photoshop elements 10. there are no updates and have tried installing raw 6.6 updates and it fails

    I cannot open RAW files in photoshop elements 10. there are no updates and have tried installing raw 6.6 updates and it fails

    Here is the ACR 6.7 Windows installer for Elements 10:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5383

  • My Ipad crashed, so I pressed both power and home button, now I have to restart my ipad on the itunes, but there are some important info I cannot loose... how can I save this info at this time? actually is some info the I saved in the "notes" app! help!!!

    My Ipad crashed, so I pressed both power and home button, now I have to restart my ipad on the itunes, but there are some important info I cannot loose... how can I save this info at this time? actually is some info the I saved in the "notes" app! help!!!

    I Had it on my iPod, but I reset to factory settings and it got deleted :( If I find a way to get it back, I'll post it here so you can too.

  • I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    Click here and request assistance.
    (88185)

  • Hi, I've checked how to use kannada keyboard in Yosemite. But, there are some 'vattu forms' and other grammar in Kannada language that I don't know how to use it. For eg, Preetiya taatanige nimma muddu mommagalu maduva namaskara? How to write this?

    Hi, I've checked how to use Kannada keyboard in Yosemite. But, there are some 'vattu forms' and other grammar in Kannada language that I don't know how to use it. I know how to change between the keyboards and can also view keyboard. However, For eg, 'Preetiya taatanige nimma muddu mommagalu maduva namaskara' How to write this? If anybody can answer this, very much appreciated.
    Thanks in advance for your reply.

    In general, you need to use the "f" (kannada qwerty keyboard) or "d" key (kannada) between letters to make special forms.  Also you may need to adjust the typography settings of the font, which is done by doing Format > Font > Show Fonts > Gear Wheel > Typography as shown below.  If you can provide screenshots or more detailed info on things you cannot make, I can perhaps help.
    It is important to note that MS Word for Mac does not support Indic scripts -- any other app should work OK.

Maybe you are looking for

  • 2 or more Sales Quotatons in one XML file

    Hi, i wanted to know if i can tranfer 2 or more sales quotations to SB1 using only one XML file or do i have to split so that every sales quotation will have a seperate XML file? Thanks, udi

  • SAP Standard ABAP Proxy for PO 855 SRM-R/3

    Hi : 855 PO Confirmation in R/3 from SRM Can I use the ABAP Proxy "PurchaseOrderConfirmation_In" to Confirm the PO response in SRM from R/3 ( In R/3 i get a idoc formatted file as 855 from vendor and can do PO Confirmation uisng custom program in R/3

  • Why my pan&scan don't work

    when i render all with color just pan&scan dont render and i have set the keyframe my project setting wrong?

  • NO SERVICE BEING PROVIDED IN REEDS, MO

    Thanks for your reply John. However, you are in error in many areas.. since you have obviously checked my usage of my phone lets review shall we?? As you can see, my calls (made) have drastically gone down since  moving to Missouri. "It is your right

  • Can I prevent the rapid flashing which occurs when testing a Flash movie which has a syntax error?

    I teach games development using Flash Professional CS6, and one of my students has photosensitive epilepsy. He is finding that the 'strobing' effect which occurs when he executes Test Movie on a movie with errors in its script is triggering headaches