Unable to create new folders on Ubuntu and Permissions tab is all greyed out

72

Solution 1

Where do you want to create a new folder?

By the way, always you can do as root by running a command in terminal by using Sudo:

sudo mkdir you_folder_name

Solution 2

If you want to change the ownership of the folder, use:

chown <new owner's user name>[:group] <folder>.

To recursively assign new ownership on a folder and it's contents, Use chown -R <new owner's user name>:[group] <folder>

Solution 3

Facing same due to Windows as second OS

Check your partition number in which you face issue...and then use ntfsfix command enter image description here (In my case you can see SecondHardDisk shows /dev/sda5 and mount button on the right. So, 5 is my partition number, find yours)

sudo fdisk -l
sudo ntfsfix /dev/sda5

Then simplily mount hardrive

Share:
72

Related videos on Youtube

Amrit
Author by

Amrit

Updated on September 18, 2022

Comments

  • Amrit
    Amrit over 1 year

    The function didSelectRowAtIndexPath crashes with uncaught exception and leads to class AppDelegate: UIResponder, UIApplicationDelegate{ with Thread1: signal SIGABRT error

    This is wrong issuance of delegates I suppose. Any ideas as to how this can be handled?

    import UIKit
    
    class UnitTableViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate {
        let cellID = "cellID"
    
        @IBOutlet var tableView: UITableView!
    
        override func viewDidLoad() {
            super.viewDidLoad()
    
            tableView.dataSource = self
            tableView.delegate = self
        }
    
        func numberOfSectionsInTableView(tableView: UITableView) -> Int {
            return 1
        }
    
        func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
            return 2
        }
    
        func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
            var cell = tableView.dequeueReusableCellWithIdentifier(cellID) as UITableViewCell!
            if !(cell != nil){
                cell = UITableViewCell(style:.Default, reuseIdentifier: cellID)
            }
            if indexPath.row == 0
            {
                cell.textLabel?.text = "2016"
            }
            else {
                cell.textLabel?.text = "2017"
            }
    
            return cell;
        }
    
        func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
            return String (format: "Please select year of study", section + 1)
        }
    
        func tableView(tableView: UITableView, titleForFooterInSection section: Int) -> String? {
            return String (format: "Thankyou for your selection", section + 1)
        }
    
        func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
            switch (indexPath.row) {
            case 0:
                [self.performSegueWithIdentifier("2015Segue'", sender: self)]
            case 1:
                [self.performSegueWithIdentifier("2016Segue'", sender: self)]
            default:
                break;
            }
           // NSLog("Row %ld selected on Section %ld", indexPath.row + 1, indexPath.section + 1)
            tableView.deselectRowAtIndexPath(indexPath, animated: true)
        }
    
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
        }
    }
    
  • David Foerster
    David Foerster over 6 years
    How did you conclude that OP's issue related to an NTFS instance or that Windows is installed on the same machine? -1
  • MdJahidHasan009
    MdJahidHasan009 about 2 years
    It works for me thanks.