Ubuntu / Apple :: Change Mac User Files Read Permission?
Jul 13, 2010
I'm a new Ubuntu user, I just installed Ubuntu today and I'm loving it. But this issue has been driving me nuts all day, I've searched for hours for something like this and all posts were about external hard drives. I installed Ubuntu 10.04 on my MBP 13" then dual booted into Ubuntu. I can mount and access my MBP hard drive, but when it comes to the Mac home user files, I don't have permission to even READ.
How can I change that? I tried doing so by dual booting into Mac and changing the folder permissions and also making them shared folders but nothing worked.
allow specific user permission to read/write my folder
I have a folder called /TAR/Sketch
I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.
I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
On an Apache2 server someone else setup, I have a folder with drwx--x--x permission and the php file can still write in the folder. But on my own setup, I need to set the same folder to drwx--x-wx. Inside the folder, I have a index.php that runs just by setting rwx--x--x but on my own setup, I need to allow read permission for others/group before it can run: rwxr-xr-x (or else I get a blank page). I tried changing the folder and files to root but it's the same.
I have a set of Mac software RAID 0 drives that my friend gave me for spring break. I need to access a file on the drive in the Extra folder on one of the drives. It contains some startup settings that need to be changed before I can boot it properly. I loaded up ubuntu and tried to access the drive but only the top level files are readable and when I try to access the Extra folder it says "permission denied." The info on the folder permissions tab is User ID: 501 and Group ID: dialout. Owner permissions = r/w, all other groups/users = none. How can I make Ubuntu read/write to this Extra folder?
I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.
cp gives the following error---> cp const1.java /home/user1/Documents/scjp cp: cannot open `const1.java' for reading: Permission denied lsattr shows this---> lsattr const1.java lsattr: Permission denied While reading flags on const1.java mount shows this---> /dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
I need to configure software as debian image to work on server. I need to create user who is not root, but being able to change IP (I don't know if administrators who will install my image need to give static IP to it, so I want to create special user role for them being able to change IP but not able to see some restricted folders in the image).
I had used test desk program to restore my files ,the files that recovered was saved in home folderthe problem is that these files are become root permission only ,so i cantcopy , move theme
I have a near 200 GB partition. Fat 32.I was copying some files into that and suddenly my computer shut down due to overheating .. am having this problem for some days ..Anyway .. After I restarted it I found I am not being able to any thing except copying for the drive .. Otherwise I dont have permission.I cannot even change the permission into 'Create and Delete' while its saying "Read only filesystem" ..When I restart the comp, everything seems okay .. but after a few seconds the problem arise .. it become inaccessible .. I simply cannot even creat a folder ..
My system won't boot because the contents of /etc/fstab, while semantically valid, are not meaningful in my system - neither / or /home is defined, for example.For this reason too fsck will not run.
The grub menu displays OK.How do I rebuild fstab?How do I get permission to change any files on my system when using the Live-CD? Right now all attempts are stopped with a 'permission denied' message.
I recently started using SVN with Apache for my web development, although I find it really annoying that I have to issue two SVN commands (one local, one remote) to update my web site. I have been looking into SVN post-commit hooks to solve this problem. The only problem is that apache does not have permission to modify files in my user directory... So here is how everything is setup. I am running Slackware 13 full install. There have been no installations overriding any of the default installs.
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
I'm looking for a Linux command that can change ownership of all files belonging to a given user,preferably in a targeted directory, to another specified user. My dream command would look something like this. chuser -R --olduser tom --newuser jerry
This is my scenario... I have a backup file (.tgz) with user and group information preserved in it. It was taken from a web server running Apache and MySQL. The files in the backup are from across the system and contain files from several different users and several system type accounts and it is key that when restored on the new server the settings are not lost. The problem is that the users on the machine the files are being restored to don't match the ones in the backup file. For instance both machines had a MySQL user but they have different user ids and there are several user ids that existed on both machines that belong to different users. This means there is no way to sync the users on the new machine to the ones on the old machine. I can find all the users files with the find command like this...
find /decompressed-backup-dir -uid 1050 or find /decompressed-backup-dir -user tom
If, as I suspect, there is no way to do what I want with a single command then perhaps there is a way to pipe the results of the find command to another command to handle the ownership change?
I could do this with a PHP script but there are 4GB and tens of thousands of files in the backup so I don't want to use PHP or Perl but I would be happy with a shell script that could handle it.
I'm using NetBeans for editing some php files ( in a php project ) at remote server.
all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, making me not able to browse to the file at the remote server till chmod it to 0777 or else.
the main project folder have permissions 0777 and owned to me. Also the all sub-folders and files under the project's folder have the same permission 0777.
What is the problem ? And how to get over it ?
I'm using Ubuntu 10.04, NetBeans 6.9 ( Final Edition ). The Connection to the remote server is via FTP in Passive Mode.
Something has changed all my file permissions to read only and when I try and change them back it wont let me. Is there something I can do i Nautilus to correct it?
It even effects the waste basket-all the stuff in there is now read only and when I delete items I get a file operations window, which comes and then goes like its deleted them, but they re still in the waste basket, doesnt show an error message like it does if I try and move any other file.
I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I am trying to change the owner permission of file as "read only" when the file is rcp remote copy ) from server to another for security reason. Any way to change to permission as readonly access for owner and group ( 550 )when transfer the file using the rcp command ? I tested but still retain the original permission as source file.
Version : RHEL 5.2 Command : #rcp(local file)(/destinationserver/ /folder/file)
I've crashed and am locked out..can't chmod,chown,or any other device to change Permissions.
I THINK THIS PROBLEM IS UNIQUE as I think I screwed up!
Crash: Wanted to mount BOTH CDrom/dvds (each had different models, port numbers, etc). Disk Utility sees them...but no deal.
-Last week I downloaded a program that included "dpkg," and I didn't realize it was in it...I think that is the problem...conflict w/ apt-get...dunno.
-Best answer (to mount 2 CDROMs) I got was "Insert a blank CD in each drive and reboot." Seemed logical. I did...CRASH!
Now it's a brick wall! I can't change permissions because "read-only." (Cannot be opened or parsed...umask=0022, not using locking for read-only lock file), etc.
If it helps it's the HP n7674n IntelDuoCore -64, Nvidia GeForce 7300le, 4Gb RAM, 2-200Gb.HDDs.
created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??
With Apple OS 10.6.* I was using samba for a network time machine with my natty box (mythbuntu) when 10.7 came out I had to change over to AFP. I am able to get the machine to do back ups, however when I try to enter the Star Wars screen, the network drive mounts, and nothing happens. I don't get any errors. I can go into my Time Machine folder, and I can see Backups.backupdb, I go in there and I see <mymachinesnetworkname>, but when I try to go into that folder I get permission errors. In terminal on the mac as sudo su - I see...
I have a computer with Ubuntu 10.04, with few disk space. For downloading some torrents, I've connected a USB hardrive, ext4 formated. But this idea wasn't a solution, because the drive keeps getting read-only permission... Is there any way of prevent this to happen?
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global] workgroup = DOMAIN server string = File Server
I have Ubuntu9.10 installed in my laptop, and I want to give read-only permission on mass storage device (USB flash & external HD) & CD-ROM. please guide me how this is possible. It should be automatically.
I am completely new to Linux and picking things up slowly. I have a question about mounting my NAS NV+. When I mount it, i use the following commands when logged on as user "matt":
sudo mount -t cifs -o rw,username=Matt,password=matt //192.168.2.15/Matts /home/matt/GRUMPY/Matts sudo mount -t cifs -o rw,username=Matt,password=matt //192.168.2.15/Torrents /home/matt/GRUMPY/Torrents sudo mount -t cifs -o rw,username=Matt,password=matt //192.168.2.15/Media /home/matt/GRUMPY/Media sudo mount -t cifs -o rw,username=Matt,password=matt //192.168.2.15/Programs /home/matt/GRUMPY/Programs
GRUMPY is the name of my NAS by the way! It mounts properly, BUT i cannot delete or rename files, so basically the user "matt" has read only privileges, and root has ownership of the mount. How do I go about mounting these so that user "matt" has RW privileges?
When I log on as root user and mount them, I can read and write as required, so this has led me to believe that my problem lies in my permissions for matt when mounting them... I posted on the netgear forum and was asked to try and mount using the following command:
i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file
Drive will not read on the Mac after booting in Ubuntu!I haven't booted Ubuntu in months (October?), but no hardware changes except for the expresscard. Ubuntu runs nicely in a virtual machine from the Mac side, so I made a fresh VM with Karmic. Couldn't remember the cool apps I had running before (it's been a while), so I booted into Ubuntu to check it out. The HDD was connected and on. (Oops.)It was fine last night on the Mac. I did not notice if it mounted this morning (still in OSX, 10.6.2, Mac sleeping overnight and HDDs on for an unrelated backup). So there is a very slim possibility this has nothing to do with Ubuntu.
Back to Ubuntu, the other external (Firewire 800, HFS+) mounted as usual. Again, I cannot recall if the Fantom mounted. I have not installed drivers for the expresscard/eSATA in Ubuntu (separate driver install is required on the Mac a rarity). I scribbled down the names of the apps I was looking for, and rebooted the Mac to OSX. Where's my HD? Disk Utility sees it as unformatted, and oddly enough, SCSI. If I plug it in via USB, it simply sees an unformatted disk. eSATA is OK with another drive on the Mac.DiskWarrior failed to see the disk entirely with either connection, same in Leopard and even Tiger.Could Ubuntu have confused the partition maps or something? Any thoughts on how I might get it running before I give up and restore the backup?
I was wondering what is the difference between directory execute and read permission?Also, how do I recursively remove executable permission from a dir, but just apply it to normal files?